From: Stephen Boyd <stephen.boyd-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
To: devicetree-spec-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH 1/3] conf: Configure html to have github project and sidebar
Date: Mon, 7 Aug 2017 16:39:15 -0700 [thread overview]
Message-ID: <20170807233917.17409-2-stephen.boyd@linaro.org> (raw)
In-Reply-To: <20170807233917.17409-1-stephen.boyd-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
The sidebar helps in navigating the document. Otherwise you have
to go to the home page to find the other sections. Also, add the
github repo information so we can link to it automatically with
the "watch" button.
Signed-off-by: Stephen Boyd <stephen.boyd-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
---
source/conf.py | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/source/conf.py b/source/conf.py
index 8f7111709646..4654e49761d2 100644
--- a/source/conf.py
+++ b/source/conf.py
@@ -133,7 +133,10 @@ html_theme = 'alabaster'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
-#html_theme_options = {}
+html_theme_options = {
+ 'github_user': 'devicetree-org',
+ 'github_repo': 'devicetree-specification',
+}
# Add any paths that contain custom themes here, relative to this directory.
html_theme_path = [alabaster.get_path()]
@@ -174,8 +177,14 @@ html_static_path = ['_static']
#html_use_smartypants = True
# Custom sidebar templates, maps document names to template names.
-#html_sidebars = {}
-
+html_sidebars = {
+ '**': [
+ 'about.html',
+ 'navigation.html',
+ 'relations.html',
+ 'searchbox.html',
+ ]
+}
# Additional templates that should be rendered to pages, maps page names to
# template names.
#html_additional_pages = {}
--
2.10.0.297.gf6727b0
next prev parent reply other threads:[~2017-08-07 23:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-07 23:39 [PATCH 0/3] HTML site tweaks + SVG Stephen Boyd
[not found] ` <20170807233917.17409-1-stephen.boyd-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2017-08-07 23:39 ` Stephen Boyd [this message]
2017-08-07 23:39 ` [PATCH 2/3] Add an SVG logo Stephen Boyd
2017-08-07 23:39 ` [PATCH 3/3] conf: Use the svg for html logo Stephen Boyd
2017-08-08 22:08 ` [PATCH 0/3] HTML site tweaks + SVG Rob Herring
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=20170807233917.17409-2-stephen.boyd@linaro.org \
--to=stephen.boyd-qsej5fyqhm4dnm+yrofe0a@public.gmane.org \
--cc=devicetree-spec-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/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).