File: docs-Use-packaged-intersphinx-resources.patch

package info (click to toggle)
python-polyfactory 2.22.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,892 kB
  • sloc: python: 11,338; makefile: 103; sh: 37
file content (28 lines) | stat: -rw-r--r-- 918 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
27
28
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Fri, 2 Aug 2024 16:30:27 +0900
Subject: docs: Use packaged intersphinx resources

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

diff --git a/docs/conf.py b/docs/conf.py
index ab3def6..9daf400 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -43,10 +43,10 @@ extensions = [
 ]
 
 intersphinx_mapping = {
-    "python": ("https://docs.python.org/3", None),
-    "faker": ("https://faker.readthedocs.io/en/master/", None),
-    "pytest": ("https://docs.pytest.org/en/latest/", None),
-    "msgspec": ("https://jcristharif.com/msgspec/", None),
+    "python": ("/usr/share/doc/python3-doc/html", None),
+    "faker": ("/usr/share/doc/faker-doc/html", None),
+    "pytest": ("/usr/share/doc/python-pytest-doc/html", None),
+    "msgspec": ("/usr/share/doc/python-msgspec-doc/html", None),
 }
 
 nitpicky = True