Commits

Anonymous committed 43dfed1

Some more documentation updates.

  • Participants
  • Parent commits 597cc82

Comments (0)

Files changed (2)

 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the
 # built documents.
-#
-# The short X.Y version.
-version = '0.5'
-# The full version, including alpha/beta/rc tags.
-release = '0.5'
+
+import re
+from werkzeug import __version__ as release
+if 'dev' in release:
+    release = release[:release.find('dev') + 3]
+version = re.match(r'\d+\.\d+', release).group()
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
 #default_role = None
 
 # If true, '()' will be appended to :func: etc. cross-reference text.
-#add_function_parentheses = True
+add_function_parentheses = True
 
 # If true, the current module name will be prepended to all description
 # unit titles (such as .. function::).
 Documentation Overview
 ======================
 
-Welcome to the Werkzeug documentation.
+Welcome to the Werkzeug |version| documentation.  You can find different
+editions of the `documentation online <http://werkzeug.pocoo.org/documentation/>`_.
 
 
 Getting Started