From 02b9d7a79175add0d4615deb6b7edb6a73c685c3 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Tue, 11 Jun 2013 15:15:20 -0400 Subject: [PATCH] Fix navigation order with HOWTOs Move the toctree from the HOWTOs sidebar on the front page to a hidden toctree after the main toctree. Create manual links to the HOWTOs docs in the sidebar. This fixes the fact that the "next" link in the docs navigated to one of the sidebars first, instead of the introductory "Infrastructure Project" doc, while keeping those sidebars in the toctree navigation so if someone reads the docs straight through they get every page. Change-Id: I5e1c23b7d3ce324bbd9e333cf6e898b33601982e Signed-off-by: Doug Hellmann Reviewed-on: https://review.openstack.org/32630 Reviewed-by: Clark Boylan Reviewed-by: James E. Blair Reviewed-by: Elizabeth Krumbach Joseph Approved: Jeremy Stanley Reviewed-by: Jeremy Stanley Tested-by: Jenkins --- doc/source/index.rst | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/doc/source/index.rst b/doc/source/index.rst index 4c1d92835c..a97ebd97c4 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -17,15 +17,12 @@ OpenStack developers or users do not need to read this documentation. Instead, see http://wiki.openstack.org/ to learn how contribute to or use OpenStack. +Contents: + .. sidebar:: HOWTOs - .. toctree:: - :maxdepth: 1 - - third_party - stackforge - -Contents: + * :doc:`third_party` + * :doc:`stackforge` .. toctree:: :maxdepth: 2 @@ -34,6 +31,12 @@ Contents: sysadmin systems +.. toctree:: + :hidden: + + third_party + stackforge + Indices and tables ==================