File: 003-remove-external-url-docs.patch

package info (click to toggle)
python-proto-plus 1.27.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 720 kB
  • sloc: python: 4,633; makefile: 27
file content (36 lines) | stat: -rw-r--r-- 984 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
28
29
30
31
32
33
34
35
36
From: Yogeswaran Umasankar <kd8mbd@gmail.com>
Date: Fri, 20 Dec 2024 02:33:59 +0000
Subject: Patch for conf.py in docs.

Forwarded: not-needed
Last-Update: 2024-12-20

External URL has been removed and replaced with available
local link.
---
 docs/conf.py | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index ecc295d..ae4a795 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -15,11 +15,9 @@
 import os
 import sys
 
-import proto
-
-
 sys.path.insert(0, os.path.abspath(".."))
 
+import proto
 
 # -- Project information -----------------------------------------------------
 
@@ -179,4 +177,4 @@ texinfo_documents = [
 # -- Options for intersphinx extension ---------------------------------------
 
 # Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {"python": ("https://docs.python.org/3/", None)}
+intersphinx_mapping = {"python": ("/usr/share/doc/python3-doc/html", None)}