File: 0007-use-local-intersphinx-links

package info (click to toggle)
alot 0.3.6-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 2,460 kB
  • sloc: python: 8,053; makefile: 128
file content (22 lines) | stat: -rw-r--r-- 919 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Use local intersphinx inventories.
 Fetching the inventories off the Internet made the build unreliable.
 This patch turns off the intersphinx feature for notmuch and urwid since
 they don't have a -doc sphinx package yet. This patch only makes sense in
 the Debian context.
Author: Simon Chopin <chopin.simon@gmail.com>
Forwarded: not-needed
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -256,7 +256,7 @@
 
 # Example configuration for intersphinx: refer to the Python standard library.
 intersphinx_mapping = {
-    'http://docs.python.org/': None,
-    'http://notmuch.readthedocs.org/en/latest/': None,
-    'http://urwid.readthedocs.org/en/latest/': None
+    'file:///usr/share/doc/python-doc/html/': None,
+    #'http://notmuch.readthedocs.org/en/latest/': None,
+    #'http://urwid.readthedocs.org/en/latest/': None
 }