File: 0007-InterSphinx.patch

package info (click to toggle)
kitchen 1.2.6-9
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,284 kB
  • sloc: python: 10,749; makefile: 22; sh: 4
file content (34 lines) | stat: -rw-r--r-- 1,388 bytes parent folder | download | duplicates (3)
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
28
29
30
31
32
33
34
--- a/kitchen2/docs/conf.py
+++ b/kitchen2/docs/conf.py
@@ -204,9 +204,11 @@
 autoclass_content = "class"
 
 # Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {'http://docs.python.org/': None,
-    'https://fedorahosted.org/releases/p/y/python-fedora/doc/': None,
-    'https://fedorahosted.org/releases/p/a/packagedb/doc/': None}
+intersphinx_mapping = {
+    'python': ('http://docs.python.org/', None),
+    'python-fedora': ('https://fedorahosted.org/releases/p/y/python-fedora/doc/', None),
+    'packagedb': ('https://fedorahosted.org/releases/p/a/packagedb/doc/', None),
+}
 
 rst_epilog = '''
 .. |projpage| replace:: project webpage
--- a/kitchen3/docs/conf.py
+++ b/kitchen3/docs/conf.py
@@ -204,9 +204,11 @@
 autoclass_content = "class"
 
 # Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {'http://docs.python.org/': None,
-    'https://fedorahosted.org/releases/p/y/python-fedora/doc/': None,
-    'https://fedorahosted.org/releases/p/a/packagedb/doc/': None}
+intersphinx_mapping = {
+    'python': ('http://docs.python.org/', None),
+    'python-fedora': ('https://fedorahosted.org/releases/p/y/python-fedora/doc/', None),
+    'packagedb': ('https://fedorahosted.org/releases/p/a/packagedb/doc/', None),
+}
 
 rst_epilog = '''
 .. |projpage| replace:: project webpage