From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id B02A893B4 for ; Wed, 21 Oct 2015 11:39:13 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 21 Oct 2015 02:39:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,711,1437462000"; d="scan'208";a="815993756" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga001.fm.intel.com with ESMTP; 21 Oct 2015 02:39:13 -0700 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 t9L9dANb027120; Wed, 21 Oct 2015 10:39:10 +0100 Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id t9L9dAIV025274; Wed, 21 Oct 2015 10:39:10 +0100 Received: (from jmcnam2@localhost) by sivswdev02.ir.intel.com with id t9L9dAag025268; Wed, 21 Oct 2015 10:39:10 +0100 From: John McNamara To: dev@dpdk.org Date: Wed, 21 Oct 2015 10:39:02 +0100 Message-Id: <1445420342-25227-1-git-send-email-john.mcnamara@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1445340689-32625-1-git-send-email-john.mcnamara@intel.com> References: <1445340689-32625-1-git-send-email-john.mcnamara@intel.com> Subject: [dpdk-dev] [PATCH v2] doc: change sphinx theme to the read the docs theme 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: Wed, 21 Oct 2015 09:39:14 -0000 Change the Sphinx default theme from "alabaster" to the ReadTheDocs theme. See for example: http://dpdk.readthedocs.org/en/latest/ This looks better for technical documentation and in particular it has a 80 char wide verbatim block rendering. Also turn off option for distracting Html mouseover permalinks. Signed-off-by: John McNamara --- v2: * Add version check since rtd theme is only available, by default, in Sphinx 1.3.1 and later. doc/guides/conf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/guides/conf.py b/doc/guides/conf.py index b2290b4..a87bb06 100644 --- a/doc/guides/conf.py +++ b/doc/guides/conf.py @@ -37,6 +37,10 @@ from pygments.formatters.latex import LatexFormatter project = 'DPDK' +if LooseVersion(sphinx_version) >= LooseVersion('1.3.1'): + html_theme = "sphinx_rtd_theme" + +html_add_permalinks = "" html_show_copyright = False highlight_language = 'none' -- 1.8.1.4