From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 3CD04968 for ; Fri, 23 Jun 2017 18:33:41 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP; 23 Jun 2017 09:33:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,379,1493708400"; d="scan'208";a="102948936" Received: from dpdk-test32.sh.intel.com (HELO [10.67.119.82]) ([10.67.119.82]) by orsmga002.jf.intel.com with ESMTP; 23 Jun 2017 09:33:40 -0700 Message-ID: <594DBE49.4070101@intel.com> Date: Sat, 24 Jun 2017 09:20:09 +0800 From: "Liu, Yong" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: John McNamara , dts@dpdk.org References: <1498221859-20247-1-git-send-email-john.mcnamara@intel.com> In-Reply-To: <1498221859-20247-1-git-send-email-john.mcnamara@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [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 16:33:42 -0000 Thanks, John. Merged into master branch. On 06/23/2017 08:44 PM, John McNamara wrote: > 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' > -