nodepool/doc/source/_templates/versions.html
James E. Blair e95b146d10 Switch docs theme to versioned RTD
To match change I2870450ffd02f55509fcc1297d050b09deafbfb9 in Zuul.

The default domain is changed to zuul which uncovered a reference
error which is fixed.

Change-Id: I71db35252d018feed41d9e87aa702c6daa61902b
2021-12-16 11:23:30 -08:00

16 lines
587 B
HTML

{# Based on versions.html from sphinx_rtd_theme, Licensed under ASL2 #}
<div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="{{ _('Versions') }}">
<span class="rst-current-version" data-toggle="rst-current-version">
<span class="fa fa-book">{{ _('Versions') }}</span>
v: {{ current_version }}
<span class="fa fa-caret-down"></span>
</span>
<div class="rst-other-versions">
<dl>
{% for slug, url in versions %}
<dd><a href="{{ url }}">{{ slug }}</a></dd>
{% endfor %}
</dl>
</div>
</div>