Skip to content

Commit

Permalink
show docs version info more prominently on RTD (#1737)
Browse files Browse the repository at this point in the history
  • Loading branch information
brenthuisman authored Oct 28, 2021
1 parent 98a3d4e commit 69c0f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/scripts/divio_docs_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
<div class="header">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<div class="header-title-wrap">
<a class="header-title" href="{{ pathto(master_doc) }}">{{ project }}</a>
<a class="header-title" href="{{ pathto(master_doc) }}">{{ project }}</a>{% if READTHEDOCS %} v: {{ current_version }}{% endif %}
</div>
<a class="logo-link" target="_blank" href="{{ pathto(master_doc) }}"><img src="{{ pathto('_static/' + logo, 1) }}" class="logo" alt="{{ project }}"/></a>
</div>
Expand Down

0 comments on commit 69c0f8c

Please sign in to comment.