This commit adds a version switch similar to the one on the user manual, in the future it would be nice to refactor both of these into a more generic code that works for both. Maybe develop this into a sphinx extension. As part of this change I had to change how the blender hash is displayed. Instead of the version hash in the top left it has been moved to the page footer. This change will also be backported to 2.93 LTS, 2.93 LTS, and 3.0.
17 lines
865 B
HTML
17 lines
865 B
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-arrow" aria-hidden="true"></div>
|
|
<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>
|
|
</ul>
|
|
</div>
|
|
|