show the current project name and version in navigation link

Replace the static text "Project home page" with the project name and
version string.

Change-Id: I74a218285d8875c66b77611866a36ee08a01052f
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2017-07-10 13:53:59 -04:00
parent dec179542e
commit 037330b05c
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
</div>
<div class="docs-sidebar-toc">
<div class="docs-sidebar-section" id="table-of-contents">
<a href="{{ pathto(master_doc) }}" class="docs-sidebar-section-title"><h4>{{ _('Project home page') }}</h4></a>
<a href="{{ pathto(master_doc) }}" class="docs-sidebar-section-title"><h4>{{project}} {{version}}</h4></a>
{%- if theme_sidebar_mode == 'toc' %}
{{ toc }}
{%- elif theme_sidebar_mode == 'toctree' %}