From: "Liu, Yong" <yong.liu@intel.com>
To: John McNamara <john.mcnamara@intel.com>, dts@dpdk.org
Subject: Re: [dts] [PATCH v1] doc: use the rtd theme for the dts docs
Date: Sat, 24 Jun 2017 09:20:09 +0800 [thread overview]
Message-ID: <594DBE49.4070101@intel.com> (raw)
In-Reply-To: <1498221859-20247-1-git-send-email-john.mcnamara@intel.com>
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 <john.mcnamara@intel.com>
> ---
> 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'
> -
prev parent reply other threads:[~2017-06-23 16:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-23 12:44 John McNamara
2017-06-24 1:20 ` Liu, Yong [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=594DBE49.4070101@intel.com \
--to=yong.liu@intel.com \
--cc=dts@dpdk.org \
--cc=john.mcnamara@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).