aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-09-21 18:04:46 -0400
committerRapptz <[email protected]>2017-09-21 18:04:46 -0400
commitde6cffa347a031263fb36860a04619bb62c2123d (patch)
treef26b6a11f10f35970339d17a0fa5e09f35917525
parentFix sorting for channels. (diff)
downloaddiscord.py-de6cffa347a031263fb36860a04619bb62c2123d.tar.xz
discord.py-de6cffa347a031263fb36860a04619bb62c2123d.zip
Try to build HTML5 for docs.
-rw-r--r--docs/conf.py2
-rw-r--r--setup.py1
2 files changed, 3 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py
index caaa0687..436fcdfb 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -128,6 +128,8 @@ pygments_style = 'friendly'
# -- Options for HTML output ----------------------------------------------
+html_experimental_html5_writer = True
+
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'basic'
diff --git a/setup.py b/setup.py
index 100bc022..b2492143 100644
--- a/setup.py
+++ b/setup.py
@@ -10,6 +10,7 @@ with open('requirements.txt') as f:
if on_rtd:
requirements.append('sphinxcontrib-napoleon')
requirements.append('sphinxcontrib-asyncio')
+ requirements.append('sphinx==1.6.3')
version = ''
with open('discord/__init__.py') as f: