diff --git a/.gitignore b/.gitignore index 849001e0..d2655b76 100644 --- a/.gitignore +++ b/.gitignore @@ -71,6 +71,7 @@ instance/ # Sphinx documentation docs/_build/ docs/build +.sphinx-diagnostics/ # PyBuilder target/ @@ -105,6 +106,7 @@ celerybeat.pid # Environments .env .venv +.venv-docs/ env/ venv/ ENV/ diff --git a/docs/source/conf.py b/docs/source/conf.py index 7c53cae8..ae7516df 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -38,6 +38,7 @@ 'sphinx.ext.napoleon', 'sphinx.ext.autosummary', 'sphinx.ext.autodoc', + 'sphinx.ext.intersphinx', 'autoapi.extension', "sphinx_rtd_theme", ] @@ -71,6 +72,10 @@ # This pattern also affects html_static_path and html_extra_path. exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', 'test.md'] +intersphinx_mapping = { + 'python': ('https://docs.python.org/3', None), +} + # -- Options for HTML output -------------------------------------------------