]> git.phdru.name Git - m_librarian.git/blobdiff - docs-ru/conf.py
Change HTML theme and Pygments style
[m_librarian.git] / docs-ru / conf.py
index 0aab948d356de3e8dc12762abccb6e005b014af9..098e70c575836a407815a203514d6c46385132d6 100644 (file)
@@ -28,7 +28,10 @@ import os
 # Add any Sphinx extension module names here, as strings. They can be
 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
 # ones.
-extensions = []
+extensions = [
+    'sphinx.ext.autodoc',
+    'sphinx.ext.viewcode',
+]
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']
@@ -90,7 +93,7 @@ exclude_patterns = ['_build']
 #show_authors = False
 
 # The name of the Pygments (syntax highlighting) style to use.
-pygments_style = 'sphinx'
+pygments_style = 'borland'
 
 # A list of ignored prefixes for module index sorting.
 #modindex_common_prefix = []
@@ -103,7 +106,7 @@ pygments_style = 'sphinx'
 
 # The theme to use for HTML and HTML Help pages.  See the documentation for
 # a list of builtin themes.
-html_theme = 'default'
+html_theme = 'nature'
 
 # 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