doc/conf.py
branchdevel
changeset 266 a0adcb788fec
parent 252 d0de2ca7201a
child 277 f65edc0382cc
equal deleted inserted replaced
265:f6c906b40cce 266:a0adcb788fec
     9 # autogenerated file.
     9 # autogenerated file.
    10 #
    10 #
    11 # All configuration values have a default; values that are commented out
    11 # All configuration values have a default; values that are commented out
    12 # serve to show the default.
    12 # serve to show the default.
    13 
    13 
    14 import sys, os
    14 import sys, os, re 
    15 
    15 
    16 # If extensions (or modules to document with autodoc) are in another directory,
    16 # If extensions (or modules to document with autodoc) are in another directory,
    17 # add these directories to sys.path here. If the directory is relative to the
    17 # add these directories to sys.path here. If the directory is relative to the
    18 # documentation root, use os.path.abspath to make it absolute, like shown here.
    18 # documentation root, use os.path.abspath to make it absolute, like shown here.
    19 sys.path.insert(0, os.path.abspath('..'))
    19 sys.path.insert(0, os.path.abspath('..'))
    20 
    20 from iro import __version__
    21 # -- General configuration -----------------------------------------------------
    21 # -- General configuration -----------------------------------------------------
    22 
    22 
    23 # If your documentation needs a minimal Sphinx version, state it here.
    23 # If your documentation needs a minimal Sphinx version, state it here.
    24 #needs_sphinx = '1.0'
    24 #needs_sphinx = '1.0'
    25 
    25 
    39 # The master toctree document.
    39 # The master toctree document.
    40 master_doc = 'index'
    40 master_doc = 'index'
    41 
    41 
    42 # General information about the project.
    42 # General information about the project.
    43 project = u'Iro'
    43 project = u'Iro'
    44 copyright = u'2012, Sandro Knauß'
    44 copyright = u'2012, netzguerilla.net'
    45 
    45 
    46 # The version info for the project you're documenting, acts as replacement for
    46 # The version info for the project you're documenting, acts as replacement for
    47 # |version| and |release|, also used in various other places throughout the
    47 # |version| and |release|, also used in various other places throughout the
    48 # built documents.
    48 # built documents.
    49 #
    49 #
    50 # The short X.Y version.
    50 # The short X.Y version.
    51 version = '2.0'
    51 version =  re.match("^([0-9\.]+)",__version__).groups()[0]
    52 # The full version, including alpha/beta/rc tags.
    52 # The full version, including alpha/beta/rc tags.
    53 release = '2.0a1'
    53 release = __version__
    54 
    54 
    55 # The language for content autogenerated by Sphinx. Refer to documentation
    55 # The language for content autogenerated by Sphinx. Refer to documentation
    56 # for a list of supported languages.
    56 # for a list of supported languages.
    57 #language = None
    57 #language = None
    58 
    58