Skip to content

Commit

Permalink
Make version static text into a link to versions.html (#1161)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattip authored Feb 22, 2021
1 parent e19ef18 commit 082429b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/source/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{% extends "!layout.html" %}

{% block sidebartitle %}
<div class="version">
<a href='https://pytorch.org/text/versions.html'>{{ version }} &#x25BC</a>
</div>
{% include "searchbox.html" %}
{% endblock %}

0 comments on commit 082429b

Please sign in to comment.