From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: [PATCH] doc: show version in html guides Date: Thu, 17 Dec 2015 11:26:32 +0100 Message-ID: <1450347992-25835-1-git-send-email-thomas.monjalon@6wind.com> Cc: dev@dpdk.org To: John McNamara Return-path: Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id 1D06268A5 for ; Thu, 17 Dec 2015 11:27:56 +0100 (CET) Received: by mail-wm0-f41.google.com with SMTP id l126so14669465wml.1 for ; Thu, 17 Dec 2015 02:27:56 -0800 (PST) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The version does not appear in the readthedocs theme. We may try to customize the theme, or just update the project name as in this patch. The project name is not used in the PDF. Signed-off-by: Thomas Monjalon --- doc/guides/conf.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/guides/conf.py b/doc/guides/conf.py index 1861443..773c565 100644 --- a/doc/guides/conf.py +++ b/doc/guides/conf.py @@ -35,8 +35,6 @@ from sphinx import __version__ as sphinx_version from sphinx.highlighting import PygmentsBridge from pygments.formatters.latex import LatexFormatter -project = 'Data Plane Development Kit' - if LooseVersion(sphinx_version) >= LooseVersion('1.3.1'): html_theme = "sphinx_rtd_theme" html_logo = '../logo/DPDK_logo_vertical_rev_small.png' @@ -47,6 +45,7 @@ highlight_language = 'none' version = subprocess.check_output(['make', '-sRrC', '../../', 'showversion']).decode('utf-8') release = version +project = 'Data Plane Development Kit ' + version master_doc = 'index' -- 2.5.2