File: docs-use-local-intersphinx.patch

package info (click to toggle)
sphinx-book-theme 1.1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,100 kB
  • sloc: python: 1,302; javascript: 170; makefile: 56; sh: 8
file content (26 lines) | stat: -rw-r--r-- 934 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
23
24
25
26
From: Josenilson Ferreira da Silva <nilsonfsilva@hotmail.com>
Date: Mon, 18 Nov 2024 01:02:01 -0300
Subject: docs: Use local intersphinx

Forwarded: not-needed
---
 docs/conf.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index f17a5fc..fe7f55f 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -42,9 +42,9 @@ templates_path = ["_templates"]
 exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
 
 intersphinx_mapping = {
-    "python": ("https://docs.python.org/3.8", None),
-    "sphinx": ("https://www.sphinx-doc.org/en/master", None),
-    "pst": ("https://pydata-sphinx-theme.readthedocs.io/en/latest/", None),
+    "python": ("/usr/share/doc/python3-doc/html", None),
+    "sphinx": ("/usr/share/doc/sphinx-doc/html", None),
+    "pst": ("/usr/share/doc/python-pydata-sphinx-theme-doc/html", None),
 }
 nitpick_ignore = [
     ("py:class", "docutils.nodes.document"),