Browse files

use version from the package

  • Loading branch information...
1 parent ad42803 commit 40d9e9591a07b5350c7ef68baf4c65a09e92ca8d @franckcuny committed Feb 11, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 docs/conf.py
View
6 docs/conf.py
@@ -18,6 +18,8 @@
sys.path.append(os.path.abspath('../'))
sys.path.append(os.path.abspath('_themes'))
+from http 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
# documentation root, use os.path.abspath to make it absolute, like shown here.
@@ -50,9 +52,9 @@
# built documents.
#
# The short X.Y version.
-version = '0.1'
+version = __version__
# The full version, including alpha/beta/rc tags.
-release = '0.1'
+release = version
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.

0 comments on commit 40d9e95

Please sign in to comment.