X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=doc%2Fsource%2Fconf.py;h=384585515da4f5c61fa82a1505aaf8c8f0d29c53;hb=708b125cb7f57a19917edf3f01ae633bdfbc80c9;hp=0fb2bdd50058f8bd54a8330ff50f10da6756d861;hpb=d39f04d4d8502d1367bfb5070db78df55081800e;p=mpd-sima.git diff --git a/doc/source/conf.py b/doc/source/conf.py index 0fb2bdd..3845855 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -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 ------------------------------------------------ @@ -36,6 +35,7 @@ from sima.info import __version__ extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.viewcode', + 'sphinx.ext.intersphinx', ] # Add any paths that contain templates here, relative to this directory. @@ -54,8 +54,9 @@ master_doc = 'index' # General information about the project. project = 'MPD_sima' -copyright = '2015-2017, 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 @@ -291,3 +292,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}