diff options
author | Dave Miller <github@justdave.net> | 2023-09-04 01:27:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-04 01:27:30 -0400 |
commit | 33dcdce548a996241a4dcc5000fcb61611d87239 (patch) | |
tree | c7f629ac77b2fe727ca6c93f09b2b6a0fc9d2398 /docs/en | |
parent | 0a1faaaa357d721e62610cdac8242a07799ba89a (diff) | |
download | bugs-33dcdce548a996241a4dcc5000fcb61611d87239.tar bugs-33dcdce548a996241a4dcc5000fcb61611d87239.tar.gz bugs-33dcdce548a996241a4dcc5000fcb61611d87239.tar.bz2 bugs-33dcdce548a996241a4dcc5000fcb61611d87239.tar.xz bugs-33dcdce548a996241a4dcc5000fcb61611d87239.zip |
Bug 1769248: get ReadTheDocs to build the POD docs (#137)
Diffstat (limited to 'docs/en')
-rw-r--r-- | docs/en/rst/conf.py | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/docs/en/rst/conf.py b/docs/en/rst/conf.py index 34acb4778..cbd418cf8 100644 --- a/docs/en/rst/conf.py +++ b/docs/en/rst/conf.py @@ -383,13 +383,10 @@ pdf_fit_background_mode = 'scale' # Temporary highlighting of TODO items todo_include_todos = False -# The readthedocs.org website cannot access POD. -on_rtd = os.environ.get('READTHEDOCS', None) == 'True' - -if on_rtd: - base_api_url = 'https://www.bugzilla.org/docs/5.0/en/html/integrating/api/' -else: - base_api_url = '../integrating/api/' +# 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 '), 'api': (base_api_url + '%s', '')} |