]> kaliko git repositories - sid.git/blobdiff - doc/source/conf.py
doc: Improved documentation
[sid.git] / doc / source / conf.py
index 0598e815fc434384944c0e6b49d4ca8e9faa3fc7..3f24004956b81be0b719a22786d313a819455c5c 100644 (file)
@@ -34,7 +34,8 @@ release = ".".join(__version__.split(".")[0:2])
 
 # If your documentation needs a minimal Sphinx version, state it here.
 #
-# needs_sphinx = '1.0'
+# need 2.0 at least for "autodecorator"
+needs_sphinx = '2.0'
 
 # Add any Sphinx extension module names here, as strings. They can be
 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
@@ -71,7 +72,7 @@ language = None
 exclude_patterns = []
 
 # The name of the Pygments (syntax highlighting) style to use.
-pygments_style = None
+pygments_style = 'sphinx'
 
 
 # -- Options for HTML output -------------------------------------------------
@@ -79,8 +80,16 @@ pygments_style = None
 # The theme to use for HTML and HTML Help pages.  See the documentation for
 # a list of builtin themes.
 #
-html_theme = 'alabaster'
 #html_theme = 'sphinx_rtd_theme'
+#html_theme_options = {
+#        'prev_next_buttons_location': 'both',
+#        'style_external_links': True,
+#        }
+html_theme = 'alabaster'
+html_theme_options = {
+         'donate_url': 'https://liberapay.com/kaliko/'
+         }
+html_show_sphinx = False
 
 # 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