Commit 08df027e authored by Christoph Ruegge's avatar Christoph Ruegge
Browse files

Sphinx already does |version| replacement etc

parent e11a675c
......@@ -40,11 +40,21 @@ extensions = [
'numpydoc'
]
# General information about the project.
project = u'ProxToolbox'
copyright = u'2015, Russell Luke'
# 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 = os.environ.get('VERSION', '(0+1j)')
# The full version, including alpha/beta/rc tags.
release = version
rst_epilog = """
.. _ProxPythonTar: http://num.math.uni-goettingen.de/proxtoolbox/downloads/proxpython-{version}.tar.gz
.. |version| replace:: {version}
""".format(version=version)
autosummary_generate = True
......@@ -67,19 +77,6 @@ source_suffix = '.rst'
# The master toctree document.
master_doc = 'index'
# General information about the project.
project = u'ProxToolbox'
copyright = u'2015, Russell Luke'
# 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.7.1'
# The full version, including alpha/beta/rc tags.
release = '0.7.1'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#language = None
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment