[Python-checkins] r62543 - doctools/trunk/doc/conf.py

georg.brandl python-checkins at python.org
Sun Apr 27 22:12:41 CEST 2008


Author: georg.brandl
Date: Sun Apr 27 22:12:41 2008
New Revision: 62543

Log:
Fetch Sphinx version from Sphinx itself.


Modified:
   doctools/trunk/doc/conf.py

Modified: doctools/trunk/doc/conf.py
==============================================================================
--- doctools/trunk/doc/conf.py	(original)
+++ doctools/trunk/doc/conf.py	Sun Apr 27 22:12:41 2008
@@ -40,9 +40,10 @@
 # other places throughout the built documents.
 #
 # The short X.Y version.
-version = '0.1'
+import sphinx
+version = sphinx.__version__
 # The full version, including alpha/beta/rc tags.
-release = '0.1'
+release = version
 
 # There are two options for replacing |today|: either, you set today to some
 # non-false value, then it is used:


More information about the Python-checkins mailing list