diff -r f6c906b40cce -r a0adcb788fec doc/conf.py --- a/doc/conf.py Thu Mar 29 18:44:28 2012 +0200 +++ b/doc/conf.py Fri Mar 30 02:25:20 2012 +0200 @@ -11,13 +11,13 @@ # All configuration values have a default; values that are commented out # serve to show the default. -import sys, os +import sys, os, re # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. sys.path.insert(0, os.path.abspath('..')) - +from iro import __version__ # -- General configuration ----------------------------------------------------- # If your documentation needs a minimal Sphinx version, state it here. @@ -41,16 +41,16 @@ # General information about the project. project = u'Iro' -copyright = u'2012, Sandro Knauß' +copyright = u'2012, netzguerilla.net' # 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 = '2.0' +version = re.match("^([0-9\.]+)",__version__).groups()[0] # The full version, including alpha/beta/rc tags. -release = '2.0a1' +release = __version__ # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.