From a8d4c191061b27e28b34a9afab5416281a4379e7 Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Sun, 16 Jul 2017 11:19:44 +0200 Subject: [PATCH] Do not require Internet access during building. Bug-Debian: https://bugs.debian.org/830186 Forwarded: no Reviewed-By: Petter Reinholdtsen Last-Update: 2016-08-27 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. Gbp-Pq: Name intersphinx-localmapping.diff --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 9a965e1..0844991 100644 --- 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 = {'http://docs.python.org/': None} +intersphinx_mapping = {'/usr/share/doc/python-doc/html': None}