Skip to content
Snippets Groups Projects
Commit 5a65b90b authored by Neil Williams's avatar Neil Williams
Browse files

Disable intersphinx-mapping in documentation build to prevent network access...

Disable intersphinx-mapping in documentation build to prevent network access during the build. (Closes: #1000182)
parent b4bd371b
No related branches found
No related tags found
No related merge requests found
Pipeline #315289 passed
......@@ -36,3 +36,4 @@ tests/test-reports-*/*
/.vscode
/node_modules
.mypy_cache/
.pc/
......@@ -4,6 +4,8 @@ python-jira (3.0-2) UNRELEASED; urgency=medium
* Fix dh_python depends (lintian error)
* Add Salsa CI
* Update standards version
* Disable intersphinx-mapping in documentation build to prevent
network access during the build. (Closes: #1000182)
-- Neil Williams <codehelp@debian.org> Wed, 13 Oct 2021 09:56:47 +0100
......
Description: Remove Intersphinx mappings which require network access
Author: Neil Williams <codehelp@debian.org>
LastUpdate: 2021-11-19
Bug-Debian: 1000182
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -31,13 +31,13 @@
extensions = ["sphinx.ext.autodoc", "sphinx.ext.viewcode", "sphinx.ext.intersphinx"]
intersphinx_mapping = {
- "python": ("https://docs.python.org/3.7", None),
+ # "python": ("https://docs.python.org/3.7", None),
# until https://github.com/psf/requests/issues/5212 is addressed
# "requests": ("http://docs.python-requests.org/en/latest/", None),
- "requests": ("https://requests.kennethreitz.org/en/master/", None),
- "requests-oauthlib": ("https://requests-oauthlib.readthedocs.io/en/latest/", None),
- "ipython": ("https://ipython.readthedocs.io/en/stable/", None),
- "pip": ("https://pip.readthedocs.io/en/stable/", None),
+ # "requests": ("https://requests.kennethreitz.org/en/master/", None),
+ # "requests-oauthlib": ("https://requests-oauthlib.readthedocs.io/en/latest/", None),
+ # "ipython": ("https://ipython.readthedocs.io/en/stable/", None),
+ # "pip": ("https://pip.readthedocs.io/en/stable/", None),
}
autodoc_default_options = {
remove-intersphinx-support.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment