File: 002.changed-intersphinx-to-local.patch

package info (click to toggle)
python-cyclopts 3.12.0-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,288 kB
  • sloc: python: 11,445; makefile: 24
file content (23 lines) | stat: -rw-r--r-- 913 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
Description: Adjusted for local intersphinx
Author: Josenilson Ferreira da Silva <nilsonfsilva@hotmail.com>
Forwarded: not-needed
Last-Update: 2024-11-30

Index: python-cyclopts/docs/source/conf.py
===================================================================
--- python-cyclopts.orig/docs/source/conf.py
+++ python-cyclopts/docs/source/conf.py
@@ -68,11 +68,8 @@ myst_enable_extensions = [
 
 # Intersphinx
 intersphinx_mapping = {
-    "pydantic": ("https://docs.pydantic.dev/latest/", None),
-    "python": ("https://docs.python.org/3", None),
-    "rich": ("https://rich.readthedocs.io/en/stable/", None),
-    "typing_extensions": ("https://typing-extensions.readthedocs.io/en/latest/", None),
-    "pytest": ("https://docs.pytest.org/en/latest", None),
+    "pytest": ("/usr/share/doc/python-pytest-doc/html", None),
+    "python": ("/usr/share/doc/python3-doc/html", None),
 }
 
 # Napoleon settings