From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 07EBD568D for ; Fri, 15 Jan 2016 17:35:41 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 15 Jan 2016 08:35:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,300,1449561600"; d="scan'208";a="893932090" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga002.fm.intel.com with ESMTP; 15 Jan 2016 08:35:34 -0800 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id u0FGZYFw028898; Fri, 15 Jan 2016 16:35:34 GMT Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id u0FGZYXZ016298; Fri, 15 Jan 2016 16:35:34 GMT Received: (from jmcnam2@localhost) by sivswdev02.ir.intel.com with id u0FGZXv3016294; Fri, 15 Jan 2016 16:35:33 GMT From: John McNamara To: dev@dpdk.org Date: Fri, 15 Jan 2016 16:35:32 +0000 Message-Id: <1452875732-16058-1-git-send-email-john.mcnamara@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [PATCH v1] doc: fix navigation levels in html sidebar X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jan 2016 16:35:42 -0000 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. Signed-off-by: John McNamara --- doc/guides/conf.py | 2 +- doc/guides/index.rst | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/guides/conf.py b/doc/guides/conf.py index 1861443..2c5610f 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 638eab9..7aef7a3 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 -- 2.5.0