Skip to content

Commit 4f39cbc

Browse files
committed
Fix Sphinx intersphinx_mapping configuration
Fix Sphinx build error: 'Invalid intersphinx_mapping configuration' **Issues fixed:** 1. Removed duplicate 'py3' and 'python' entries (kept 'python') 2. Removed obsolete 'rtd' reference (readthedocs.io docs) 3. Updated numpy: http://docs.scipy.org/doc/numpyhttps://numpy.org/doc/stable/ 4. Removed scipy and matplotlib (not cfxdb dependencies) **Modern intersphinx_mapping:** - python: Python 3 standard library docs - txaio: txaio library docs - autobahn: Autobahn|Python docs - zlmdb: zLMDB docs - numpy: NumPy docs (used for array types in cfxdb) **Why these changes:** - Modern Sphinx versions are stricter about URL validation - HTTPS preferred over HTTP - Old scipy.org URLs for numpy are deprecated - Only include relevant project dependencies This aligns with Sphinx best practices and cfxdb's actual dependencies.
1 parent 7e9f5a5 commit 4f39cbc

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

docs/conf.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,9 @@ def use_aio():
164164
html_static_path = ['_static']
165165

166166
intersphinx_mapping = {
167-
'py3': ('https://docs.python.org/3', None),
168167
'python': ('https://docs.python.org/3', None),
169-
'rtd': ('https://docs.readthedocs.io/en/latest/', None),
170168
'txaio': ('https://txaio.readthedocs.io/en/latest/', None),
171169
'autobahn': ('https://autobahn.readthedocs.io/en/latest/', None),
172170
'zlmdb': ('https://zlmdb.readthedocs.io/en/latest/', None),
173-
'numpy': ('http://docs.scipy.org/doc/numpy', None),
174-
'scipy': ('http://docs.scipy.org/doc/scipy/reference', None),
175-
'matplotlib': ('http://matplotlib.org/stable', None),
171+
'numpy': ('https://numpy.org/doc/stable/', None),
176172
}

0 commit comments

Comments
 (0)