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.
This commit is contained in:
Paul Sokolovsky 2017-07-02 14:34:20 +03:00
parent 7e14f99c26
commit 5f0c56bcf1
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ texinfo_documents = [
# Example configuration for intersphinx: refer to the Python standard library. # 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 # Append the other ports' specific folders/files to the exclude pattern
exclude_patterns.extend([port + '*' for port in ports if port != micropy_port]) exclude_patterns.extend([port + '*' for port in ports if port != micropy_port])