aports/community/khal/fix-doc-intersphinx-mapping.patch
mio 87dbaec788 community/khal: fix doc building
Fix Sphinx doc building error which caused a build failure.
2024-10-23 02:40:14 +00:00

18 lines
563 B
Diff

Fix intersphinx_mapping config syntax for Sphinx doc generation.
Upstream issue: https://github.com/pimutils/khal/issues/1356
```
ERROR: Invalid value `None` in intersphinx_mapping['http://docs.python.org/'].
Expected a two-element tuple or list.
```
--- khal-0.11.3-origin/doc/source/conf.py
+++ khal-0.11.3/doc/source/conf.py
@@ -309,4 +309,4 @@
# Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {'http://docs.python.org/': None}
+intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}