Merge "[config-ref] Fix config ref source URL"

This commit is contained in:
Jenkins 2016-01-08 14:10:36 +00:00 committed by Gerrit Code Review
commit b36c8a6e47

View File

@ -56,7 +56,7 @@ master_doc = 'index'
# General information about the project.
project = u'Configuration Reference'
bug_tag = u'config-ref-rst'
bug_tag = u'config-reference'
copyright = u'2015, OpenStack contributors'
# The version info for the project you're documenting, acts as replacement for
@ -73,7 +73,7 @@ release = '0.9'
# gitsha: The SHA checksum of the bug description. Automatically extracted from git log.
# bug_tag: Tag for categorizing the bug. Must be set manually.
# These variables are passed to the logabug code via html_context.
giturl = u'http://git.openstack.org/cgit/openstack/openstack-manuals/tree/doc/config-ref-rst/source'
giturl = u'http://git.openstack.org/cgit/openstack/openstack-manuals/tree/doc/config-reference/source'
git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '"
gitsha = os.popen(git_cmd).read().strip('\n')
html_context = {"gitsha": gitsha, "bug_tag": bug_tag,
@ -206,7 +206,7 @@ html_show_sourcelink = False
# html_file_suffix = None
# Output file base name for HTML help builder.
htmlhelp_basename = 'config-ref-rst'
htmlhelp_basename = 'config-reference'
# If true, publish source files
html_copy_source = False