From 49a5f82f19951e1aeed6b47418bd1e220d64f6fe Mon Sep 17 00:00:00 2001 From: Brian Harring Date: Thu, 25 Jan 2024 12:49:27 -0800 Subject: 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 Closes: https://github.com/pkgcore/pkgcheck/pull/658 Signed-off-by: Arthur Zamarin --- 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() +) -- cgit v1.2.3-65-gdbad