[Python-checkins] r66061 - in doctools/branches/0.4.x: doc/conf.py sphinx/__init__.py

georg.brandl python-checkins at python.org
Sat Aug 30 11:43:21 CEST 2008


Author: georg.brandl
Date: Sat Aug 30 11:43:20 2008
New Revision: 66061

Log:
Show last released version in built docs.


Modified:
   doctools/branches/0.4.x/doc/conf.py
   doctools/branches/0.4.x/sphinx/__init__.py

Modified: doctools/branches/0.4.x/doc/conf.py
==============================================================================
--- doctools/branches/0.4.x/doc/conf.py	(original)
+++ doctools/branches/0.4.x/doc/conf.py	Sat Aug 30 11:43:20 2008
@@ -41,7 +41,7 @@
 #
 # The short X.Y version.
 import sphinx
-version = sphinx.__version__
+version = sphinx.__released__
 # The full version, including alpha/beta/rc tags.
 release = version
 

Modified: doctools/branches/0.4.x/sphinx/__init__.py
==============================================================================
--- doctools/branches/0.4.x/sphinx/__init__.py	(original)
+++ doctools/branches/0.4.x/sphinx/__init__.py	Sat Aug 30 11:43:20 2008
@@ -20,7 +20,8 @@
 from sphinx.util.console import darkred, nocolor
 
 __revision__ = '$Revision$'
-__version__ = '0.4.3'
+__version__  = '0.4.3'
+__released__ = '0.4.2'
 
 
 def usage(argv, msg=None):


More information about the Python-checkins mailing list