From 72256dca6dc7250aa5c5a265ac752cf6adc1b6dd Mon Sep 17 00:00:00 2001 From: Andrey Kislyuk Date: Sun, 28 Jan 2024 16:42:15 -0800 Subject: [PATCH] Use new intersphinx mapping format --- docs/conf.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 5302b1f..d35dd30 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -21,10 +21,10 @@ autodoc_typehints = "description" autodoc_typehints_description_target = "documented_params" intersphinx_mapping = { - "https://docs.python.org/3": None, - "https://lxml.de/apidoc": "https://lxml.de/apidoc/objects.inv", - "https://cryptography.io/en/latest": "https://cryptography.io/en/latest/objects.inv", - "https://www.pyopenssl.org/en/stable": "https://www.pyopenssl.org/en/stable/objects.inv", + "python": ("https://docs.python.org/3", None), + "lxml": ("https://lxml.de/apidoc", "https://lxml.de/apidoc/objects.inv"), + "Cryptography": ("https://cryptography.io/en/latest", "https://cryptography.io/en/latest/objects.inv"), + "pyOpenSSL": ("https://www.pyopenssl.org/en/stable", "https://www.pyopenssl.org/en/stable/objects.inv"), } templates_path = [""] ogp_site_url = "https://xml-security.github.io/" + project