commit:     49a5f82f19951e1aeed6b47418bd1e220d64f6fe
Author:     Brian Harring <ferringb <AT> gmail <DOT> com>
AuthorDate: Thu Jan 25 20:49:27 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 27 17:04:43 2024 +0000
URL:        
https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=49a5f82f

docs: Add intersphinx linkages

For any references that go back into those, they're not
reachable for doc rendering without this.

Signed-off-by: Brian Harring <ferringb <AT> gmail.com>
Closes: https://github.com/pkgcore/pkgcheck/pull/658
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 doc/conf.py | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/doc/conf.py b/doc/conf.py
index 84aae9ea..b89bd7bd 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -324,3 +324,13 @@ epub_exclude_files = ["search.html"]
 
 # If false, no index is generated.
 # epub_use_index = True
+
+intersphinx_mapping = {
+    "python": ("https://docs.python.org/3";, None),
+    "chardet": ("https://chardet.readthedocs.io/en/latest";, None),
+    "lazy-object-proxy": 
("https://python-lazy-object-proxy.readthedocs.io/en/latest";, None),
+    "setuptools": ("https://setuptools.pypa.io/en/latest";, None),
+}
+intersphinx_mapping.update(
+    (x, (f"https://pkgcore.github.io/{x}";, None)) for x in ("pkgcore 
snakeoil").split()
+)

Reply via email to