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
This commit is contained in:
Monty Taylor 2013-07-16 11:01:47 -04:00
parent d2dbee8d85
commit c7f313551e
2 changed files with 6 additions and 11 deletions

View File

@ -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

View File

@ -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
output_file = heat/locale/heat.pot
[build_sphinx]
all_files = 1
build-dir = doc/build
source-dir = doc/source