master_doc = 'index'
# General information about the project.
-project = u'BMO'
-copyright = u'2015, The BMO Team'
+project = u'Bugzilla'
+copyright = u'2024, The Bugzilla Team'
# 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.
#
# The short X.Y version.
-version = '4.2'
+version = 'Unknown'
# The full version, including alpha/beta/rc tags.
-release = ''
+release = 'Harmony'
+
+for line in open("../../../Bugzilla/Constants.pm"):
+ match = re.search(r'BUGZILLA_VERSION\s+=>\s+"([^"]+)"', line)
+ if (match):
+ release = match.group(1)
+ match = re.search(r'^\d+\.\d+', release)
+ if (match):
+ version = match.group(0)
+ else:
+ version = release
+ break
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
.. role:: field
:class: field
-.. |min-perl-ver| replace:: 5.10.1
+.. |min-perl-ver| replace:: 5.14.0
"""
rst_epilog = """
# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
-html_logo = ""
+html_logo = "../images/bugzlla.png"
# The name of an image file (within the static path) to use as favicon of the
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
- ('index', 'bugzilla', u'BMO Documentation',
- [u'The BMO Team'], 1)
+ ('index', 'bugzilla', u'Bugzilla Documentation',
+ [u'The The Bugzilla Team'], 1)
]
# If true, show URL addresses after external links.
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
- ('index', 'BMO', u'BMO Documentation',
- u'The BMO Team', 'BMO', 'One line description of project.',
+ ('index', 'Bugzilla', u'Bugzilla Documentation',
+ u'The Bugzilla Team', 'Bugzilla', 'One line description of project.',
'Miscellaneous'),
]
# regardless of the global pdf_compressed setting.
pdf_documents = [
-('index', u'BMO', u'BMO Documentation', u'The BMO Team'),
+('index', u'Bugzilla', u'Bugzilla Documentation', u'The Bugzilla Team'),
]
# A comma-separated list of custom stylesheets. Example:
# Temporary highlighting of TODO items
todo_include_todos = False
-extlinks = {'bug': ('https://bugzilla.mozilla.org/show_bug.cgi?id=%s', 'bug ')}
+# Originally, the readthedocs.org website could not access POD,
+# so we would conditionally override that here if we were building
+# on RTD, but that's no longer the case.
+base_api_url = '../integrating/api/'
+
+extlinks = {'bug': ('https://bugzilla.mozilla.org/show_bug.cgi?id=%s', 'bug %s'),
+ 'api': (base_api_url + '%s', "%s")}