mirror of
https://github.com/django/django.git
synced 2025-10-27 07:36:08 +00:00
[1.11.x] Fixed docs build with Sphinx 1.6.
Backport of f370bfb108 from master
This commit is contained in:
committed by
Tim Graham
parent
d1d08d86ba
commit
b78e5dec18
@@ -52,6 +52,8 @@ extensions = [
|
||||
# Add it only if spelling check is requested so docs can be generated without it.
|
||||
if 'spelling' in sys.argv:
|
||||
extensions.append("sphinxcontrib.spelling")
|
||||
# Workaround for https://bitbucket.org/dhellmann/sphinxcontrib-spelling/issues/13
|
||||
html_use_smartypants = False
|
||||
|
||||
# Spelling language.
|
||||
spelling_lang = 'en_US'
|
||||
@@ -188,10 +190,6 @@ html_theme_path = ["_theme"]
|
||||
# using the given strftime format.
|
||||
html_last_updated_fmt = '%b %d, %Y'
|
||||
|
||||
# If true, SmartyPants will be used to convert quotes and dashes to
|
||||
# typographically correct entities.
|
||||
html_use_smartypants = True
|
||||
|
||||
# Content template for the index page.
|
||||
# html_index = ''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user