From 8cdfdd14a03e1356cda4fcbdfbcc528bc7f397bd Mon Sep 17 00:00:00 2001 From: Todd Willey Date: Thu, 6 Jan 2011 15:29:38 -0500 Subject: Let documentation get version from nova/version.py as well. --- doc/source/conf.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'doc/source') diff --git a/doc/source/conf.py b/doc/source/conf.py index 8f1b370cc..61b3749d0 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -60,10 +60,12 @@ copyright = u'2010, United States Government as represented by the Administrator # |version| and |release|, also used in various other places throughout the # built documents. # -# The short X.Y version. -version = '2011.1' +import re +from nova import version as nova_version # The full version, including alpha/beta/rc tags. -release = '2011.1-prerelease' +release = nova_version.string() +# The short X.Y version. +version = re.sub(r'-dev$', '', nova_version.string()) # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. -- cgit From 8b3925e4d4b97dc28bfc903483ec4793fb38fed5 Mon Sep 17 00:00:00 2001 From: Soren Hansen Date: Fri, 7 Jan 2011 15:17:03 +0100 Subject: Less code generation. --- doc/source/conf.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'doc/source') diff --git a/doc/source/conf.py b/doc/source/conf.py index 61b3749d0..20e9c88af 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -60,12 +60,11 @@ copyright = u'2010, United States Government as represented by the Administrator # |version| and |release|, also used in various other places throughout the # built documents. # -import re from nova import version as nova_version # The full version, including alpha/beta/rc tags. -release = nova_version.string() +release = nova_version.version() # The short X.Y version. -version = re.sub(r'-dev$', '', nova_version.string()) +version = nova_version.canonical_version() # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. -- cgit From a29bba7e9f57b97085902fa97d17de32da8044cb Mon Sep 17 00:00:00 2001 From: Soren Hansen Date: Sat, 8 Jan 2011 00:02:24 +0100 Subject: s/canonical_version/canonical_version_string/g --- doc/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/source') diff --git a/doc/source/conf.py b/doc/source/conf.py index 20e9c88af..368a686c3 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -64,7 +64,7 @@ from nova import version as nova_version # The full version, including alpha/beta/rc tags. release = nova_version.version() # The short X.Y version. -version = nova_version.canonical_version() +version = nova_version.canonical_version_string() # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. -- cgit From 16eeac71055ffa9fe0fc7a13032da4e6397121b1 Mon Sep 17 00:00:00 2001 From: Ken Pepple Date: Sat, 8 Jan 2011 17:40:06 -0800 Subject: fixed doc make process for new nova version (rev530) machanism --- doc/source/conf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/source') diff --git a/doc/source/conf.py b/doc/source/conf.py index 368a686c3..d09984b19 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -60,11 +60,11 @@ copyright = u'2010, United States Government as represented by the Administrator # |version| and |release|, also used in various other places throughout the # built documents. # -from nova import version as nova_version +import nova.version # The full version, including alpha/beta/rc tags. -release = nova_version.version() +release = nova.version.version_string() # The short X.Y version. -version = nova_version.canonical_version_string() +version = nova,version.canonical_version_string() # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. -- cgit From 346bd0e7c93757f940f133179b36657302d4296f Mon Sep 17 00:00:00 2001 From: Ken Pepple Date: Sat, 8 Jan 2011 17:46:22 -0800 Subject: typo correction --- doc/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/source') diff --git a/doc/source/conf.py b/doc/source/conf.py index d09984b19..34c4ec288 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -64,7 +64,7 @@ import nova.version # The full version, including alpha/beta/rc tags. release = nova.version.version_string() # The short X.Y version. -version = nova,version.canonical_version_string() +version = nova.version.canonical_version_string() # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. -- cgit From 5424690912a6edc2a64bfbbd44120e52a85c7f48 Mon Sep 17 00:00:00 2001 From: Ken Pepple Date: Sun, 9 Jan 2011 09:25:27 -0800 Subject: added myself to authors and fixed typo to follow standard --- doc/source/conf.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'doc/source') diff --git a/doc/source/conf.py b/doc/source/conf.py index 34c4ec288..996dfb0a7 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -60,11 +60,12 @@ copyright = u'2010, United States Government as represented by the Administrator # |version| and |release|, also used in various other places throughout the # built documents. # -import nova.version +from nova import version as nova_version +#import nova.version # The full version, including alpha/beta/rc tags. -release = nova.version.version_string() +release = nova_version.version_string() # The short X.Y version. -version = nova.version.canonical_version_string() +version = nova_version.canonical_version_string() # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. -- cgit