mirror of
https://github.com/django/django.git
synced 2025-10-09 10:10:28 +00:00
Fixed docs build with Sphinx 1.6.
This commit is contained in:
parent
6092ea8fa6
commit
f370bfb108
3 changed files with 13 additions and 8 deletions
|
@ -48,6 +48,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'
|
||||
|
@ -182,10 +184,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 = ''
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue