summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Magorsch <max@magorsch.de>2020-01-19 00:58:37 +0100
committerMichał Górny <mgorny@gentoo.org>2020-01-19 11:51:09 +0100
commit81f8d870c8696e4fb37fefee9458c5caa1ebf1ad (patch)
tree93ee5940384cb6652b0ecba1cb68331d81d752d3
parentClean builds up (diff)
downloadpolicy-guide-81f8d870c8696e4fb37fefee9458c5caa1ebf1ad.tar.gz
policy-guide-81f8d870c8696e4fb37fefee9458c5caa1ebf1ad.tar.bz2
policy-guide-81f8d870c8696e4fb37fefee9458c5caa1ebf1ad.zip
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@magorsch.de> Closes: https://github.com/gentoo/policy-guide/pull/4 Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--conf.py9
-rw-r--r--tox.ini1
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