File: docs-Use-installed-local-inventory-information.patch

package info (click to toggle)
swagger-spec-validator 3.0.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 696 kB
  • sloc: python: 2,321; makefile: 28; sh: 2
file content (27 lines) | stat: -rw-r--r-- 806 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: Carsten Schoenert <c.schoenert@t-online.de>
Date: Sun, 23 Oct 2022 08:57:03 +0200
Subject: docs: Use installed local inventory information

Use the information of objects.inv from python$version-doc package.
The buildprocess isn't allowed to catch up stuff from "outside".

Forwared: Not-Needed
---
 docs/source/conf.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/docs/source/conf.py b/docs/source/conf.py
index 4337667..d1661f2 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -118,7 +118,9 @@ html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
 
 html_static_path = ["_static"]
 
-intersphinx_mapping = {"http://docs.python.org/": None}
+intersphinx_mapping = {
+    'python': ('/usr/share/doc/python3-doc/html', None),
+}
 
 html_use_index = True