File: 0001-Use-local-intersphinx-inventories.patch

package info (click to toggle)
alot 0.11-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,716 kB
  • sloc: python: 11,261; makefile: 125; sh: 8
file content (27 lines) | stat: -rw-r--r-- 1,117 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From: Simon Chopin <chopin.simon@gmail.com>
Date: Thu, 16 Feb 2017 16:30:46 -0800
Subject: 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.
---
 docs/source/conf.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/source/conf.py b/docs/source/conf.py
index 7d7f137..778e8f3 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -227,7 +227,7 @@ man_pages = [
 
 # Example configuration for intersphinx: refer to the Python standard library.
 intersphinx_mapping = {
-    'python': ('https://docs.python.org/', None),
-    'notmuch': ('https://notmuch.readthedocs.org/en/latest/', None),
-    'urwid': ('https://urwid.readthedocs.org/en/latest/', None),
+    'python': ('file:///usr/share/doc/python-doc/html/', None),
+    #'notmuch': ('http://notmuch.readthedocs.org/en/latest/', None),
+    #'urwid': ('http://urwid.readthedocs.org/en/latest/', None),
 }