summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 5415263..9e0ffad 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -13,8 +13,7 @@
# All configuration values have a default; values that are commented out
# serve to show the default.
-import sys
-import os
+from decorator import __version__
# 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
@@ -49,7 +48,7 @@ master_doc = 'index'
# General information about the project.
project = 'decorator'
-copyright = '2017, Michele Simionato'
+copyright = '2005-2018, Michele Simionato'
author = 'Michele Simionato'
# The version info for the project you're documenting, acts as replacement for
@@ -57,9 +56,8 @@ author = 'Michele Simionato'
# built documents.
#
# The short X.Y version.
-version = '4.1'
+version = release = __version__
# The full version, including alpha/beta/rc tags.
-release = '4.1.2'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.