Not quite a 1:1 match, some customizations have to be made for the API URL differences and the face that there are no translations. This also enables the version switch publicly now that this change fixes a few bugs.
30 lines
1.3 KiB
HTML
30 lines
1.3 KiB
HTML
<div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="document versions">
|
|
<ul id="versionwrap" role="presentation">
|
|
<li role="presentation">
|
|
<span id="version-popover" class="version-btn" tabindex="0" role="button" aria-label="versions selector"
|
|
aria-haspopup="true" aria-controls="version-vsnlist" aria-disabled="true">
|
|
{{ release }}
|
|
</span>
|
|
<div class="version-dialog" aria-hidden="true">
|
|
<div class="version-title">Versions</div>
|
|
<ul id="version-vsnlist" class="version-list" role="menu" aria-labelledby="version-popover" aria-hidden="true">
|
|
<li role="presentation">Loading...</li>
|
|
</ul>
|
|
</div>
|
|
</li>
|
|
<template id="version-entry">
|
|
<li tabindex="-1" role="presentation"><a tabindex="-1" role="menuitem"></a></li>
|
|
<li class="selected" tabindex="-1" role="presentation"><span tabindex="-1" aria-current="page"></span></li>
|
|
</template>
|
|
</ul>
|
|
<template id="version-warning">
|
|
<div class="admonition warning">
|
|
<p class="first admonition-title">Note</p>
|
|
<p class="last">
|
|
You are not using the most up to date version of the documentation.
|
|
<a href="#"></a> is the newest version.
|
|
</p>
|
|
</div>
|
|
</template>
|
|
</div>
|