Skip to content

Commit 5aa92ce

Browse files
svekarsdbort
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 18a9aa7 commit 5aa92ce

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
@@ -19,7 +19,10 @@
1919

2020

2121
{% block sidebartitle %}
22-
{% include "searchbox.html" %}
22+
<div class="version">
23+
<a href='https://pytorch.org/executorch/versions.html'>{{ version }} &#x25BC</a>
24+
</div>
25+
{% include "searchbox.html" %}
2326
{% endblock %}
2427

2528
{%- block content %}

0 commit comments

Comments
 (0)