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 5C50F292D for ; Fri, 23 Jun 2017 14:44:22 +0200 (CEST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Jun 2017 05:44:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,378,1493708400"; d="scan'208";a="277832180" Received: from sivswdev02.ir.intel.com (HELO localhost.localdomain) ([10.237.217.46]) by fmsmga004.fm.intel.com with ESMTP; 23 Jun 2017 05:44:20 -0700 From: John McNamara To: dts@dpdk.org Cc: yong.liu@intel.com, John McNamara Date: Fri, 23 Jun 2017 13:44:19 +0100 Message-Id: <1498221859-20247-1-git-send-email-john.mcnamara@intel.com> X-Mailer: git-send-email 1.7.0.7 Subject: [dts] [PATCH v1] doc: use the rtd theme for the dts docs X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2017 12:44:22 -0000 Use the dpdk.org style ReadTheDocs theme for the DTS user docs, when available. Signed-off-by: John McNamara --- doc/dts_gsg/conf.py | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/doc/dts_gsg/conf.py b/doc/dts_gsg/conf.py index 6a8c679..568150e 100644 --- a/doc/dts_gsg/conf.py +++ b/doc/dts_gsg/conf.py @@ -1,5 +1,5 @@ # BSD LICENSE -# Copyright(c) 2010-2015 Intel Corporation. All rights reserved. +# Copyright(c) 2010-2017 Intel Corporation. All rights reserved. # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -28,13 +28,14 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -import subprocess +try: + import sphinx_rtd_theme -project = 'DPDK Test Suite' - -copyright = '2015, dpdk.org' - -#version = subprocess.check_output(["make","-sRrC","../../", "showversion"]) + html_theme = "sphinx_rtd_theme" + html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] +except: + pass +project = 'DPDK Test Suite' +copyright = '2017, dpdk.org' master_doc = 'index' - -- 2.7.4