diff --git a/docs/conf.py b/docs/conf.py index 3257ecb..4b1e436 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -36,7 +36,9 @@ 'sphinx.ext.viewcode', 'sphinxcontrib.mermaid', 'myst_parser', - 'sphinx.ext.extlinks' + 'sphinx.ext.extlinks', + 'sphinx.ext.intersphinx', + 'sphinx.ext.autosectionlabel' ] extlinks = { @@ -111,3 +113,7 @@ def setup(app): # Add README.md as the index page root_doc = 'index' # or 'contents' in older versions + +# Add these settings +intersphinx_mapping = {'python': ('https://docs.python.org/3', None)} +autosectionlabel_prefix_document = True