From b29dc2937e004a4f29ba21514fe9bfe844e0ae9a Mon Sep 17 00:00:00 2001 From: Beth Elwell Date: Wed, 22 Feb 2017 09:40:18 -0500 Subject: [PATCH] Amended dev documentation side navigation Amended developer documentation side navigation to add an option for clearly returning to the project developer documentation home page. Previously it was possible to return to the home page by clicking 'table of contents' however this is not obvious and makes it hard to get around the complete project documentation once you have left the homepage. This patch removes the link from 'table of contents' which is misleading, and a link is added beneath this header to say 'Return to project home page'. Change-Id: I7cf96acead62f00224ca9217a80760b4a65d42d6 Closes-bug: #1666323 --- oslosphinx/theme/openstack/layout.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/oslosphinx/theme/openstack/layout.html b/oslosphinx/theme/openstack/layout.html index c3878eb..655febd 100644 --- a/oslosphinx/theme/openstack/layout.html +++ b/oslosphinx/theme/openstack/layout.html @@ -14,7 +14,8 @@ {%- endblock %} {%- block sidebartoc %} {%- if display_toc %} -

{{ _('Table Of Contents') }}

+

{{ _('Table Of Contents') }}

+ {{ toc }} {%- endif %} {%- endblock %}