summaryrefslogtreecommitdiff
path: root/conf.py
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-08-29 11:30:48 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-08-29 11:30:48 +0200
commit34d79e45dcce1ba2d4dfbe0099187b2518be9ad1 (patch)
treed560b79fe22b2cd418ade8ed9e345fea849c97ef /conf.py
parent41a69cdd83eea8b8a8343a76af4569f29aae8d19 (diff)
downloaddocs-34d79e45dcce1ba2d4dfbe0099187b2518be9ad1.tar.gz
docs-34d79e45dcce1ba2d4dfbe0099187b2518be9ad1.tar.bz2
docs-34d79e45dcce1ba2d4dfbe0099187b2518be9ad1.zip
theming
Diffstat (limited to 'conf.py')
-rw-r--r--conf.py23
1 files changed, 17 insertions, 6 deletions
diff --git a/conf.py b/conf.py
index 85fcfe3..242d97c 100644
--- a/conf.py
+++ b/conf.py
@@ -67,7 +67,7 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
-project = u'Taler'
+project = u'GNU Taler'
copyright = u'2014, 2015, 2016 Florian Dold, Benedikt Muller, Sree Harsha Totakura, Christian Grothoff, Marcello Stanisci (GPLv3+ or GFDL 1.3+)'
# The version info for the project you're documenting, acts as replacement for
@@ -120,14 +120,25 @@ pygments_style = 'sphinx'
# -- Options for HTML output ----------------------------------------------
+import sys
+sys.path.append(".")
+import taler_sphinx_theme
+extensions.append("taler_sphinx_theme")
+
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
-html_theme = 'default'
+html_theme = 'taler_sphinx_theme'
+html_theme_path = taler_sphinx_theme.html_theme_path()
+
+html_sidebars = {
+ '**': ['logo-text.html', 'globaltoc.html', 'searchbox.html']
+}
+
-# 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 = {
+ # Set the name of the project to appear in the sidebar
+ "project_nav_name": "GNU Taler",
+}
# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = []