[jit] Use the "pyramid" theme for generated HTML docs

David Malcolm dmalcolm@redhat.com
Thu Sep 18 18:14:00 GMT 2014


Committed to branch dmalcolm/jit:

The default Sphinx theme is perhaps a little dated; switch
to a non-default one.  The "pyramid" one is clean and attractive IMHO.

I've updated the prebuilt docs currently at:
  https://dmalcolm.fedorapeople.org/gcc/libgccjit-api-docs/
to use the new theme.

gcc/jit/ChangeLog.jit:
	* docs/conf.py (Options for HTML output): Update html_theme from
	"default" to "pyramid".
---
 gcc/jit/ChangeLog.jit | 5 +++++
 gcc/jit/docs/conf.py  | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gcc/jit/ChangeLog.jit b/gcc/jit/ChangeLog.jit
index 11c9298..06734db 100644
--- a/gcc/jit/ChangeLog.jit
+++ b/gcc/jit/ChangeLog.jit
@@ -1,5 +1,10 @@
 2014-09-18  David Malcolm  <dmalcolm@redhat.com>
 
+	* docs/conf.py (Options for HTML output): Update html_theme from
+	"default" to "pyramid".
+
+2014-09-18  David Malcolm  <dmalcolm@redhat.com>
+
 	* docs/intro/install.rst: Markup fixes.
 	* docs/intro/tutorial01.rst: Likewise.
 	* docs/intro/tutorial02.rst: Likewise.
diff --git a/gcc/jit/docs/conf.py b/gcc/jit/docs/conf.py
index 6199010..22e763a 100644
--- a/gcc/jit/docs/conf.py
+++ b/gcc/jit/docs/conf.py
@@ -91,7 +91,7 @@ pygments_style = 'sphinx'
 
 # The theme to use for HTML and HTML Help pages.  See the documentation for
 # a list of builtin themes.
-html_theme = 'default'
+html_theme = 'pyramid'
 
 # 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
-- 
1.7.11.7



More information about the Gcc-patches mailing list