salt/doc/_templates/version.html
2015-05-11 16:32:47 -06:00

17 lines
683 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="https://readthedocs.org/projects/salt/">readthedocs.org</a>.</p>
<p>Latest Salt release: <a href="{{ pathto('topics/releases/{0}'.format(release)) }}">{{ release }}</a></p>
<!--
<p>Try the shiny new release candidate of Salt,
- <a href="{{ pathto('topics/releases/2015.2.0') }}">v2015.2.0rc2</a>! More info
- <a href="{{ pathto('topics/releases/releasecandidate') }}">here</a>.</p>
-->