diff options
Diffstat (limited to 'docs/conf.py')
-rw-r--r-- | docs/conf.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py index 4ab831d3..864168f6 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -38,6 +38,7 @@ add_module_names = False # ones. extensions = [ "sphinx.ext.extlinks", + "sphinx.ext.intersphinx", "sphinx.ext.autodoc", "sphinx.ext.todo", "sphinx.ext.napoleon", @@ -169,6 +170,13 @@ extlinks = { } +# -- Options for intersphinx extension --------------------------------------- +intersphinx_mapping = { + "python": ("https://docs.python.org/3", None), + "discord": ("https://discordpy.readthedocs.io/en/master/", None), +} + + # -- Options for the linkcode extension -------------------------------------- def linkcode_resolve(domain: str, info: dict[str, str]) -> typing.Optional[str]: """ |