X-Git-Url: http://git.kaliko.me/?a=blobdiff_plain;f=doc%2Fsource%2Fconf.py;h=0fb2bdd50058f8bd54a8330ff50f10da6756d861;hb=d39f04d4d8502d1367bfb5070db78df55081800e;hp=4bbcf8a6585e5ba2212285fd68412e9e2ce030d8;hpb=7a017681a7646e8f8a3d7226b4ae9e1f6d7dbf41;p=mpd-sima.git diff --git a/doc/source/conf.py b/doc/source/conf.py index 4bbcf8a..0fb2bdd 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -17,11 +17,13 @@ import sys import os import shlex + # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # 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__ # -- General configuration ------------------------------------------------ @@ -52,7 +54,7 @@ master_doc = 'index' # General information about the project. project = 'MPD_sima' -copyright = '2015, kaliko' +copyright = '2015-2017, kaliko' author = 'kaliko' # The version info for the project you're documenting, acts as replacement for @@ -60,9 +62,9 @@ author = 'kaliko' # built documents. # # The short X.Y version. -version = '0.14' +version = __version__ # The full version, including alpha/beta/rc tags. -release = '0.14' +release = __version__ # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -113,7 +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 = '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 @@ -121,7 +125,7 @@ html_theme = 'alabaster' #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 # " v documentation".