Point roles docs bugs to openstack-ansible LP
Currently when clicking on the small bug in the roles' docs, we land on openstack-manuals launchpad. This should solve it. Change-Id: I01efc2e73ad333984a65ef09875ecb86fecf2e29
This commit is contained in:
@@ -22,9 +22,9 @@
|
|||||||
# All configuration values have a default; values that are commented out
|
# All configuration values have a default; values that are commented out
|
||||||
# serve to show the default.
|
# serve to show the default.
|
||||||
|
|
||||||
|
import openstackdocstheme
|
||||||
import pbr.version
|
import pbr.version
|
||||||
import os
|
import os
|
||||||
import openstackdocstheme
|
|
||||||
|
|
||||||
# If extensions (or modules to document with autodoc) are in another directory,
|
# 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
|
# add these directories to sys.path here. If the directory is relative to the
|
||||||
@@ -83,6 +83,22 @@ release = version_info.version_string_with_vcs()
|
|||||||
# The short X.Y version.
|
# The short X.Y version.
|
||||||
version = version_info.canonical_version_string()
|
version = version_info.canonical_version_string()
|
||||||
|
|
||||||
|
# A few variables have to be set for the log-a-bug feature.
|
||||||
|
# giturl: The location of conf.py on Git. Must be set manually.
|
||||||
|
# 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 = ("http://git.openstack.org/cgit/openstack/{0}"
|
||||||
|
"/tree/doc/source").format(target_name)
|
||||||
|
git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '"
|
||||||
|
gitsha = os.popen(git_cmd).read().strip('\n')
|
||||||
|
bug_project = project.lower()
|
||||||
|
bug_title = "Documentation bug"
|
||||||
|
html_context = {"gitsha": gitsha, "giturl": giturl,
|
||||||
|
"bug_tag": "docs", "bug_title": bug_title,
|
||||||
|
"bug_project": bug_project}
|
||||||
|
|
||||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||||
# for a list of supported languages.
|
# for a list of supported languages.
|
||||||
#
|
#
|
||||||
@@ -305,7 +321,7 @@ texinfo_documents = [
|
|||||||
# texinfo_show_urls = 'footnote'
|
# texinfo_show_urls = 'footnote'
|
||||||
|
|
||||||
# If true, do not generate a @detailmenu in the "Top" node's menu.
|
# If true, do not generate a @detailmenu in the "Top" node's menu.
|
||||||
# texinfo_no_detailmenu = Falsei
|
# texinfo_no_detailmenu = False
|
||||||
|
|
||||||
|
|
||||||
watermark = os.popen("git branch --contains $(git rev-parse HEAD)\
|
watermark = os.popen("git branch --contains $(git rev-parse HEAD)\
|
||||||
|
|||||||
Reference in New Issue
Block a user