diff options
| author | NCPlayz <[email protected]> | 2019-05-18 06:04:54 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-06-07 19:27:46 -0400 |
| commit | 3c9bcc285147154a2980f6e661efdfa676672b6a (patch) | |
| tree | 657bafa75e4e0d45361e394443ea932ad70e86a7 /docs/conf.py | |
| parent | Added comment for/redo system information (diff) | |
| download | discord.py-3c9bcc285147154a2980f6e661efdfa676672b6a.tar.xz discord.py-3c9bcc285147154a2980f6e661efdfa676672b6a.zip | |
Improve documentation
Diffstat (limited to 'docs/conf.py')
| -rw-r--r-- | docs/conf.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/conf.py b/docs/conf.py index 93de0e98..67b88833 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -49,14 +49,15 @@ extlinks = { # Links used for cross-referencing stuff in other documentation intersphinx_mapping = { 'py': ('https://docs.python.org/3', None), - 'aio': ('https://aiohttp.readthedocs.io/en/stable/', None) + 'aio': ('https://aiohttp.readthedocs.io/en/stable/', None), + 'req': ('http://docs.python-requests.org/en/latest/', 'requests.inv') } rst_prolog = """ -.. |coro| replace:: This function is a |corourl|_. -.. |maybecoro| replace:: This function *could be a* |corourl|_. -.. |corourl| replace:: *coroutine* -.. _corourl: https://docs.python.org/3/library/asyncio-task.html#coroutine +.. |coro| replace:: This function is a |coroutine_link|_. +.. |maybecoro| replace:: This function *could be a* |coroutine_link|_. +.. |coroutine_link| replace:: *coroutine* +.. _coroutine_link: https://docs.python.org/3/library/asyncio-task.html#coroutine """ # Add any paths that contain templates here, relative to this directory. |