Permalink
Browse files

Autodetect version in docs

  • Loading branch information...
schmichael committed Oct 2, 2012
1 parent d5ff3c5 commit 61e54f456038a38057e4e2c9b1a5ab3018782940
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/conf.py
View
@@ -49,9 +49,9 @@
# built documents.
#
# The short X.Y version.
-version = '0.6'
+version = '.'.join(mmstats.version.split('.')[:2])
# The full version, including alpha/beta/rc tags.
-release = '0.6.2'
+release = mmstats.version
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.

0 comments on commit 61e54f4

Please sign in to comment.