aboutsummaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-09-21 21:15:37 -0400
committerRapptz <[email protected]>2017-09-21 21:15:37 -0400
commite3d69ce83ddb5d84c680e76a2b3efb21a2d46731 (patch)
treed8594060df149fdf67c0d9bacaa61436311cf101 /docs/conf.py
parentMore CSS fixes. (diff)
downloaddiscord.py-e3d69ce83ddb5d84c680e76a2b3efb21a2d46731.tar.xz
discord.py-e3d69ce83ddb5d84c680e76a2b3efb21a2d46731.zip
Add custom details directive.
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 436fcdfb..f0af548f 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -22,6 +22,7 @@ on_rtd = os.getenv('READTHEDOCS') == 'True'
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath('..'))
+sys.path.append(os.path.abspath('extensions'))
# -- General configuration ------------------------------------------------
@@ -34,7 +35,8 @@ sys.path.insert(0, os.path.abspath('..'))
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.extlinks',
- 'sphinxcontrib.asyncio'
+ 'sphinxcontrib.asyncio',
+ 'details'
]
if on_rtd: