From: John McNamara Date: Fri, 15 Jan 2016 16:35:32 +0000 (+0000) Subject: doc: fix navigation levels in html sidebar of guides X-Git-Tag: spdx-start~7684 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=ff82e08aa3c3e888b650ca78d3b177298ab56ebd;p=dpdk.git doc: fix navigation levels in html sidebar of guides Fix issue where the navigation levels weren't displayed in the html sidebar with the new read_the_docs theme. This was due to the :titlesonly: directive in the high level index.rst and also due to a stray newline in the parsed version number. Reported-by: Matthew Hall Signed-off-by: John McNamara --- diff --git a/doc/guides/conf.py b/doc/guides/conf.py index 1861443fa7..2c5610f8f2 100644 --- a/doc/guides/conf.py +++ b/doc/guides/conf.py @@ -45,7 +45,7 @@ html_add_permalinks = "" html_show_copyright = False highlight_language = 'none' -version = subprocess.check_output(['make', '-sRrC', '../../', 'showversion']).decode('utf-8') +version = subprocess.check_output(['make', '-sRrC', '../../', 'showversion']).decode('utf-8').rstrip() release = version master_doc = 'index' diff --git a/doc/guides/index.rst b/doc/guides/index.rst index 638eab9edc..7aef7a3a4e 100644 --- a/doc/guides/index.rst +++ b/doc/guides/index.rst @@ -33,7 +33,6 @@ DPDK documentation .. toctree:: :maxdepth: 1 - :titlesonly: linux_gsg/index freebsd_gsg/index