Skip to content
This repository
Browse code

Autodetect version in docs

  • Loading branch information...
commit 61e54f456038a38057e4e2c9b1a5ab3018782940 1 parent d5ff3c5
Michael Schurter authored October 01, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  docs/conf.py
4  docs/conf.py
@@ -49,9 +49,9 @@
49 49
 # built documents.
50 50
 #
51 51
 # The short X.Y version.
52  
-version = '0.6'
  52
+version = '.'.join(mmstats.version.split('.')[:2])
53 53
 # The full version, including alpha/beta/rc tags.
54  
-release = '0.6.2'
  54
+release = mmstats.version
55 55
 
56 56
 # The language for content autogenerated by Sphinx. Refer to documentation
57 57
 # for a list of supported languages.

0 notes on commit 61e54f4

Please sign in to comment.
Something went wrong with that request. Please try again.