import sys
import os
-import shlex
# If extensions (or modules to document with autodoc) are in another directory,
# 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 ------------------------------------------------
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.viewcode',
+ 'sphinx.ext.intersphinx',
]
# Add any paths that contain templates here, relative to this directory.
# 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
# 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'
# 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 = []
# If true, do not generate a @detailmenu in the "Top" node's menu.
#texinfo_no_detailmenu = False
+
+intersphinx_mapping = {'https://docs.python.org/': None}