]> kaliko git repositories - mpd-sima.git/blobdiff - doc/source/conf.py
doc: Update sphinx config and add sima.mpdclient.MPD
[mpd-sima.git] / doc / source / conf.py
index ab853056a2a561cbe5225ff1b1ca457123a84df8..6f553a02fb1abb7c6669cabc7276e9cd234c6eaa 100644 (file)
@@ -15,7 +15,6 @@
 
 import sys
 import os
-import shlex
 
 
 # If extensions (or modules to document with autodoc) are in another directory,
@@ -23,7 +22,7 @@ import shlex
 # documentation root, use os.path.abspath to make it absolute, like shown here.
 #sys.path.insert(0, os.path.abspath('.'))
 sys.path.insert(0, os.path.abspath('../../'))
-from sima.info import __version__
+from sima.info import __version__, __author__
 
 # -- General configuration ------------------------------------------------
 
@@ -54,8 +53,9 @@ master_doc = 'index'
 
 # General information about the project.
 project = 'MPD_sima'
-copyright = '2015, kaliko'
-author = 'kaliko'
+from datetime import datetime
+copyright = '2009-{}, {}'.format(datetime.now().year, __author__)
+author = __author__
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the
@@ -115,8 +115,9 @@ 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 = 'classic'
+#html_theme = 'alabaster'
+html_theme = 'bootstrap'
+#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
@@ -124,7 +125,7 @@ html_theme = 'classic'
 #html_theme_options = {}
 
 # Add any paths that contain custom themes here, relative to this directory.
-#html_theme_path = []
+html_theme_path = ['/usr/lib/python3/dist-packages/sphinx_bootstrap_theme']
 
 # The name for this set of Sphinx documents.  If None, it defaults to
 # "<project> v<release> documentation".