]> kaliko git repositories - mpd-sima.git/blobdiff - doc/source/conf.py
doc: Add publish target
[mpd-sima.git] / doc / source / conf.py
index 6f553a02fb1abb7c6669cabc7276e9cd234c6eaa..7102970540f2f72a96d73bc4df3f0e717041f0aa 100644 (file)
@@ -35,6 +35,7 @@ from sima.info import __version__, __author__
 extensions = [
     'sphinx.ext.autodoc',
     'sphinx.ext.viewcode',
+    'sphinx.ext.intersphinx',
 ]
 
 # Add any paths that contain templates here, relative to this directory.
@@ -115,17 +116,19 @@ 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 = 'alabaster'
-html_theme = 'bootstrap'
-#html_theme = 'classic'
+html_theme = 'classic'
 
 # 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 = {
+    "externalrefs": True,
+    "sidebarwidth": "300px",
+    "bgcolor": "#dfdfdf",
+}
 
 # Add any paths that contain custom themes here, relative to this directory.
-html_theme_path = ['/usr/lib/python3/dist-packages/sphinx_bootstrap_theme']
+#html_theme_path = []
 
 # The name for this set of Sphinx documents.  If None, it defaults to
 # "<project> v<release> documentation".
@@ -291,3 +294,5 @@ texinfo_documents = [
 
 # If true, do not generate a @detailmenu in the "Top" node's menu.
 #texinfo_no_detailmenu = False
+
+intersphinx_mapping = {'https://docs.python.org/': None}