salt/doc/_templates/version.html

11 lines
449 B
HTML

{% if '-g' in version %}
{% set sha = version.rsplit('-g', 1)[-1] %}
<p>These docs are for Salt's development version:
<a href="https://github.com/saltstack/salt/tree/{{ sha }}">{{ sha }}</a>.</p>
{% endif %}
<p class="muted">Docs for previous releases are available on
<a href="http://salt.readthedocs.org">salt.rtfd.org</a>.</p>
<p>Latest Salt release: <a href="{{ pathto('topics/releases/{0}'.format(release)) }}">{{ release }}</a></p>