diff options
author | Stefan Kögl <stefan@skoegl.net> | 2013-04-13 18:19:59 +0200 |
---|---|---|
committer | Stefan Kögl <stefan@skoegl.net> | 2013-04-13 18:20:45 +0200 |
commit | 18ca2528423708103860a0dfd480d3426dc52a06 (patch) | |
tree | 0388452606a9b46955ae056be2ceb72cd2b2d682 /doc/conf.py | |
parent | cb1e33e5cda282d423cc850b6e46774560e5a607 (diff) | |
download | python-json-pointer-18ca2528423708103860a0dfd480d3426dc52a06.tar.gz |
let sphinx extract version, author from source
Diffstat (limited to 'doc/conf.py')
-rw-r--r-- | doc/conf.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/conf.py b/doc/conf.py index ad3cade..ed2a7f3 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -18,6 +18,8 @@ import sys, os # documentation root, use os.path.abspath to make it absolute, like shown here. sys.path.insert(0, os.path.join(os.path.abspath('.'), '..')) +import jsonpointer + # -- General configuration ----------------------------------------------------- # If your documentation needs a minimal Sphinx version, state it here. @@ -41,16 +43,17 @@ master_doc = 'index' # General information about the project. project = u'python-json-pointer' -copyright = u'2013, Stefan Kögl' +copyright = jsonpointer.__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 # built documents. # + # The short X.Y version. -version = '1' +version = jsonpointer.__version__ # The full version, including alpha/beta/rc tags. -release = '1.0' +release = jsonpointer.__version__ # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. |