From: Monty Taylor Date: Tue, 16 Jul 2013 15:01:47 +0000 (-0400) Subject: Fix version and location of heat doc build X-Git-Tag: 2014.1~357^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=c7f313551e52e0bf8d79c774c4831ed3973d843f;p=openstack-build%2Fheat-build.git Fix version and location of heat doc build pbr injects version information as part of the build_sphinx command, so having it here is overkill. Change-Id: I1f89e068da3e47b94434cb71db87704f9665dea2 --- diff --git a/doc/source/conf.py b/doc/source/conf.py index 1987f68f..9b99377b 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -47,16 +47,6 @@ master_doc = 'index' project = u'Heat' copyright = u'2012,2013 Heat Developers' -# 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. - -from heat import version as heat_version -# The full version, including alpha/beta/rc tags. -release = heat_version.version_info.release_string() -# The short X.Y version -version = heat_version.version_info.version_string() - # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. #language = None diff --git a/setup.cfg b/setup.cfg index 696e1d2c..b58f60df 100644 --- a/setup.cfg +++ b/setup.cfg @@ -50,4 +50,9 @@ input_file = heat/locale/heat.pot [extract_messages] keywords = _ gettext ngettext l_ lazy_gettext mapping_file = babel.cfg -output_file = heat/locale/heat.pot \ No newline at end of file +output_file = heat/locale/heat.pot + +[build_sphinx] +all_files = 1 +build-dir = doc/build +source-dir = doc/source