diff options
| author | Tobotimus <[email protected]> | 2018-01-06 17:21:56 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2018-01-06 17:23:59 -0500 |
| commit | 3112e1c17e7859adf6d13ed844f4c636b4bc30d8 (patch) | |
| tree | 70d7aafca549a8c245ee4fdab774e1ab5302d531 /docs/conf.py | |
| parent | [commands] Fix MissingRequiredArgument param handling (diff) | |
| download | discord.py-3112e1c17e7859adf6d13ed844f4c636b4bc30d8.tar.xz discord.py-3112e1c17e7859adf6d13ed844f4c636b4bc30d8.zip | |
Add intersphinx
Diffstat (limited to 'docs/conf.py')
| -rw-r--r-- | docs/conf.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py index f0af548f..dd486917 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -35,6 +35,7 @@ sys.path.append(os.path.abspath('extensions')) extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.extlinks', + 'sphinx.ext.intersphinx', 'sphinxcontrib.asyncio', 'details' ] @@ -50,6 +51,9 @@ extlinks = { 'issue': ('https://github.com/Rapptz/discord.py/issues/%s', 'issue '), } +# Links used for cross-referencing stuff in other documentation +intersphinx_mapping = {'python': ('https://docs.python.org/3', None)} + rst_prolog = """ .. |coro| replace:: This function is a |corourl|_. .. |maybecoro| replace:: This function *could be a* |corourl|_. |