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:
parent
dec179542e
commit
037330b05c
|
@ -10,7 +10,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="docs-sidebar-toc">
|
<div class="docs-sidebar-toc">
|
||||||
<div class="docs-sidebar-section" id="table-of-contents">
|
<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' %}
|
{%- if theme_sidebar_mode == 'toc' %}
|
||||||
{{ toc }}
|
{{ toc }}
|
||||||
{%- elif theme_sidebar_mode == 'toctree' %}
|
{%- elif theme_sidebar_mode == 'toctree' %}
|
||||||
|
|
Loading…
Reference in New Issue