Bug 1650197 - Add an extension to autolink bug xxxxxxx strings in docs to bugzilla hyperlinks r=sylvestre DONTBUILD

An extension is created that uses SphinxTransform to convert bug xxxxxxx strings that exist in docs to reference links that redirect to the appropriate bug in bugzilla

Differential Revision: https://phabricator.services.mozilla.com/D137385
This commit is contained in:
Anastasios Bithas
2022-01-31 15:12:40 +00:00
parent b8161e0899
commit 4a9582898f
2 changed files with 64 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ EXTRA_PATHS = (
"testing/mozbase/mozprocess",
"third_party/python/jsmin",
"third_party/python/which",
"docs/_addons",
)
sys.path[:0] = [os.path.join(topsrcdir, p) for p in EXTRA_PATHS]
@@ -45,6 +46,7 @@ extensions = [
"sphinx_copybutton",
"sphinx_markdown_tables",
"sphinx_panels",
"bzlink",
]
# JSDoc must run successfully for dirs specified, so running