Skip to content

Commit fd2b256

Browse files
svekarsfacebook-github-bot
authored andcommitted
Add version dropdown to the layout html (#873)
Summary: Pull Request resolved: #873 Add the version dropdown to the layout html Reviewed By: dbort Differential Revision: D50238907 fbshipit-source-id: 6ffdacc8149d387275344973dd25643abc64c1d0
1 parent b448008 commit fd2b256

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/source/_templates/layout.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@
2222

2323

2424
{% block sidebartitle %}
25-
{% include "searchbox.html" %}
25+
<div class="version">
26+
<a href='https://pytorch.org/executorch/versions.html'>{{ version }} &#x25BC</a>
27+
</div>
28+
{% include "searchbox.html" %}
2629
{% endblock %}
2730

2831
{%- block content %}

0 commit comments

Comments
 (0)