aboutsummaryrefslogtreecommitdiff
path: root/bindings/python/docs
diff options
context:
space:
mode:
authorFredrik Lönnegren <fredrik@frelon.se>2024-12-05 17:45:50 +0100
committerDavid Bremner <david@tethera.net>2024-12-08 09:07:45 -0400
commit969b26704da11c9e1935e5b442f6a88b32bb7e22 (patch)
tree172f8eb9d6b7325c31679a59de5d0dcda111027e /bindings/python/docs
parentb61c8cbafea20efc00b9e4f83f0281d9c017bc77 (diff)
docs: Update intersphinx_mapping
Running `make dirhtml` in bindings/python/docs generates the following error: ``` sphinx-build -b dirhtml -d build/doctrees source build/dirhtml Running Sphinx v8.0.2 loading translations [en]... done making output directory... done Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`. ERROR: Invalid value `None` in intersphinx_mapping['https://docs.python.org/']. Expected a two-element tuple or list. ``` This commit updates intersphinx_mapping to follow the latest docs [1] [1] https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html Signed-off-by: Fredrik Lönnegren <fredrik@frelon.se>
Diffstat (limited to 'bindings/python/docs')
-rw-r--r--bindings/python/docs/source/conf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/python/docs/source/conf.py b/bindings/python/docs/source/conf.py
index 8b43c5ca..bd4c8b17 100644
--- a/bindings/python/docs/source/conf.py
+++ b/bindings/python/docs/source/conf.py
@@ -206,4 +206,4 @@ latex_documents = [
# Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {'https://docs.python.org/': None}
+intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}