aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRapptz <[email protected]>2018-09-15 09:54:00 -0400
committerRapptz <[email protected]>2018-09-15 09:54:00 -0400
commit5c24e69cf26c1cc3042f77b5384fd317b50e82c9 (patch)
treeb5b8a0de427dd1613e7cd61a1825ab173524e380 /docs
parentAdd support for Discord's slow mode. (diff)
downloaddiscord.py-5c24e69cf26c1cc3042f77b5384fd317b50e82c9.tar.xz
discord.py-5c24e69cf26c1cc3042f77b5384fd317b50e82c9.zip
Fix up the Sphinx strings causing warnings.
Diffstat (limited to 'docs')
-rw-r--r--docs/conf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/conf.py b/docs/conf.py
index a9c214f7..56ffc572 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -46,7 +46,7 @@ extlinks = {
}
# Links used for cross-referencing stuff in other documentation
-intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}
+intersphinx_mapping = {'py': ('https://docs.python.org/3', None)}
rst_prolog = """
.. |coro| replace:: This function is a |corourl|_.
@@ -314,4 +314,4 @@ texinfo_documents = [
def setup(app):
app.add_javascript('custom.js')
if app.config.language == 'ja':
- app.config.intersphinx_mapping['python'] = ('https://docs.python.org/ja/3', None)
+ app.config.intersphinx_mapping['py'] = ('https://docs.python.org/ja/3', None)