commit:     81f8d870c8696e4fb37fefee9458c5caa1ebf1ad
Author:     Max Magorsch <max <AT> magorsch <DOT> de>
AuthorDate: Sat Jan 18 23:58:37 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jan 19 10:51:09 2020 +0000
URL:        https://gitweb.gentoo.org/proj/policy-guide.git/commit/?id=81f8d870

Use a Sphinx theme based on Tyrian

A Sphinx theme based on Tyrian is used. The theme is automatically
installed and applied when using tox. If you are not using tox. please
refer to the documentaion of the theme for further installation
instructions.

Signed-off-by: Max Magorsch <max <AT> magorsch.de>
Closes: https://github.com/gentoo/policy-guide/pull/4
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 conf.py | 9 +++++++--
 tox.ini | 1 +
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/conf.py b/conf.py
index 34b7273..e91b613 100644
--- a/conf.py
+++ b/conf.py
@@ -73,13 +73,18 @@ pygments_style = 'sphinx'
 # The theme to use for HTML and HTML Help pages.  See the documentation for
 # a list of builtin themes.
 #
-html_theme = 'alabaster'
+html_theme = 'tyrian_sphinx_theme'
 
 # 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 = {
+    'sidebar' : 'right',
+    'navigationlinks_top' : 'none',
+    'navigationlinks_bottom' : 'long',
+    'navigationlinks_navbar' : 'none'
+}
 
 # Add any paths that contain custom static files (such as style sheets) here,
 # relative to this directory. They are copied after the builtin static files,

diff --git a/tox.ini b/tox.ini
index 1873355..2261cc5 100644
--- a/tox.ini
+++ b/tox.ini
@@ -5,6 +5,7 @@ skipsdist = True
 [testenv]
 deps =
        sphinx
+       
git+https://github.com/mmagorsc/tyrian_sphinx_theme/#egg=tyrian_sphinx_theme
 whitelist_externals =
        make
 

Reply via email to