Skip to content
Snippets Groups Projects
Commit 5f0c56bc authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

docs/conf.py: Switch to "new" format of intersphinx_mapping.

As described at
http://www.sphinx-doc.org/en/stable/ext/intersphinx.html#confval-intersphinx_mapping

This will allow to explicitly refer to CPython docs for cross-references.
parent 7e14f99c
No related branches found
No related tags found
No related merge requests found
......@@ -317,7 +317,7 @@ texinfo_documents = [
# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'http://docs.python.org/': None}
intersphinx_mapping = {'python': ('http://docs.python.org/3', None)}
# Append the other ports' specific folders/files to the exclude pattern
exclude_patterns.extend([port + '*' for port in ports if port != micropy_port])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment