Skip to content

Commit

Permalink
try READTHEDOCS key instead of readthedocs
Browse files Browse the repository at this point in the history
  • Loading branch information
Kim Scott committed Oct 23, 2020
1 parent 83c6b0c commit 6a1b937
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions _templates/versions.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@
<div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions">
<span class="rst-current-version" data-toggle="rst-current-version">
<span class="fa fa-book"> Read the Docs</span>
v: {{ current_version }}


{% if readthedocs.v1.vcs.type == 'github' %}
v: {{ current_version }}
{% if READTHEDOCS.v1.vcs.type == 'github' %}
<p>
version ID:
<a href="https://github.com/{{ readthedocs.v1.vcs.user }}/{{ readthedocs.v1.vcs.repo }}
/commits/{{ readthedocs.v1.vcs.version }}">
{{ readthedocs.v1.vcs.commit }}</a>
<a href="https://github.com/{{ READTHEDOCS.v1.vcs.user }}/{{ READTHEDOCS.v1.vcs.repo }}
/commits/{{ READTHEDOCS.v1.vcs.version }}">
{{ READTHEDOCS.v1.vcs.commit }}</a>
</p>
{% endif %}
<span class="fa fa-caret-down"></span>
Expand Down

0 comments on commit 6a1b937

Please sign in to comment.