summaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2012-08-31 22:02:09 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2012-09-02 09:29:50 +0900
commit6cc438cb0e2af5867fb2675aa2b0b7dce67eb165 (patch)
treeb3d9df85101828d0121be9f8c04d28a23fa40da3 /doc
parentab1253e441f1d5d7a5784269d75f513d2cf97248 (diff)
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>
Diffstat (limited to 'doc')
-rw-r--r--doc/source/conf.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index c539bf85..95fc6474 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -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.