Issue 014: Change theme to Read the Docs Sphinx Theme
[kohadocs.git] / source / conf.py
index f3d2226..422742c 100644 (file)
@@ -19,6 +19,7 @@
 #
 # import os
 import sys; sys.setrecursionlimit(3000)
+import sphinx_rtd_theme
 # import sys
 # sys.path.insert(0, os.path.abspath('.'))
 
@@ -38,6 +39,7 @@ extensions = [
     'sphinx.ext.coverage',
     'sphinxcontrib.spelling',
     'sphinx.ext.autosectionlabel',
+    'sphinx_rtd_theme',
 ]
 
 # Spelling options
@@ -70,9 +72,9 @@ author = 'Koha Community'
 # built documents.
 #
 # The short X.Y version.
-version = '20.05'
+version = '20.11'
 # The full version, including alpha/beta/rc tags.
-release = '20.05'
+release = '20.11'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
@@ -132,13 +134,18 @@ todo_include_todos = False
 # The theme to use for HTML and HTML Help pages.  See the documentation for
 # a list of builtin themes.
 #
-html_theme = 'default'
+html_theme = 'sphinx_rtd_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 = {
+
+    'prev_next_buttons_location': 'both',
+    'style_nav_header_background': '#4a9b32'
+
+}
 
 # Add any paths that contain custom themes here, relative to this directory.
 # html_theme_path = []