Skip to content

Commit

Permalink
Fix doc build warning
Browse files Browse the repository at this point in the history
This fixes the following doc build warning:
```
Warning, treated as error:
Failed to read intersphinx_mapping[https://docs.python.org/3/], ignored: SphinxWarning('The pre-Sphinx 1.0 \'intersphinx_mapping\' format is deprecated and will be removed in Sphinx 8. Update to the current format as described in the documentation. Hint: "intersphinx_mapping = {\'<name>\': (\'https://docs.python.org/3/\', \'python-intersphinx.inv\')}".https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#confval-intersphinx_mapping')
```
  • Loading branch information
qixiang committed Jun 29, 2023
1 parent e60f57b commit 3734876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Expand Up @@ -81,4 +81,4 @@
htmlhelp_basename = 'Freshmakerdoc'

# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'https://docs.python.org/3/': 'python-intersphinx.inv'}
intersphinx_mapping = {'python': ('https://docs.python.org/3/', 'python-intersphinx.inv')}

0 comments on commit 3734876

Please sign in to comment.