File: intersphinx-localmapping.diff

package info (click to toggle)
python-requests-toolbelt 0.10.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 856 kB
  • sloc: python: 3,785; makefile: 158
file content (18 lines) | stat: -rw-r--r-- 701 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Do not require Internet access during building.
 intersphinx want to fetch some mapping data, and was set up to use
 the Internet to find it.  Use a local file from python-doc instead to
 avoid violating Debian policy 4.9.
Author: Petter Reinholdtsen <pere@debian.org>
Bug-Debian: https://bugs.debian.org/830186
Forwarded: no
Reviewed-By: Petter Reinholdtsen <pere@debian.org>
Last-Update: 2016-08-27

--- a/docs/conf.py
+++ b/docs/conf.py
@@ -268,4 +268,4 @@ texinfo_documents = [
 
 
 # Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {'https://docs.python.org/': None}
+intersphinx_mapping = {'/usr/share/doc/python-doc/html': None}