aboutsummaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2018-08-08 00:19:40 -0400
committerRapptz <[email protected]>2018-08-08 00:19:40 -0400
commit86712c4d60132fc3a26fc5a3e68b4397d5a963f1 (patch)
tree19ad56389fa550e929bdbeda9d2794702fa13829 /docs/conf.py
parentTranslation of discord.po is finished. (diff)
downloaddiscord.py-86712c4d60132fc3a26fc5a3e68b4397d5a963f1.tar.xz
discord.py-86712c4d60132fc3a26fc5a3e68b4397d5a963f1.zip
Ensure intersphinx points to the Japanese documentation.
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 419778c3..bc2aab17 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -319,3 +319,5 @@ 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)