diff options
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. |