doc: use ryu version constant

- Use ryu version constant instead of setting the version by hand.
- update Copyright

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
FUJITA Tomonori 2012-08-31 22:02:09 +09:00
parent ab1253e441
commit 6cc438cb0e

View File

@ -12,6 +12,7 @@
# serve to show the default.
import sys, os
from ryu import version as ryu_version
# 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
@ -40,17 +41,17 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'ryu'
copyright = u'2011, ryu development team'
project = u'Ryu'
copyright = u'2011, 2012 Nippon Telegraph and Telephone Corporation'
# 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.1'
version = ryu_version
# The full version, including alpha/beta/rc tags.
release = '0.1'
release = ryu_version
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.