diff options
author | Max Magorsch <max@magorsch.de> | 2020-01-19 00:58:37 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-01-19 11:51:09 +0100 |
commit | 81f8d870c8696e4fb37fefee9458c5caa1ebf1ad (patch) | |
tree | 93ee5940384cb6652b0ecba1cb68331d81d752d3 | |
parent | Clean builds up (diff) | |
download | policy-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.py | 9 | ||||
-rw-r--r-- | tox.ini | 1 |
2 files changed, 8 insertions, 2 deletions
@@ -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, @@ -5,6 +5,7 @@ skipsdist = True [testenv] deps = sphinx + git+https://github.com/mmagorsc/tyrian_sphinx_theme/#egg=tyrian_sphinx_theme whitelist_externals = make |