[1.8.x] Removed deprecated html_translator_class sphinx config option.

Backport of bacdfbf3d1eb23ff8e8110681728a5b467443446 and
e5d3f98abcdc20d64d99609bd0aa82331835b439 from master
This commit is contained in:
Tim Graham 2016-12-05 14:00:10 -05:00
parent 0311b7e637
commit b248f33130
2 changed files with 2 additions and 3 deletions

View File

@ -67,6 +67,8 @@ def setup(app):
man=(visit_snippet_literal, depart_snippet_literal),
text=(visit_snippet_literal, depart_snippet_literal),
texinfo=(visit_snippet_literal, depart_snippet_literal))
app.set_translator('djangohtml', DjangoHTMLTranslator)
app.set_translator('json', DjangoHTMLTranslator)
return {'parallel_read_safe': True}

View File

@ -192,9 +192,6 @@ html_last_updated_fmt = '%b %d, %Y'
# typographically correct entities.
html_use_smartypants = True
# HTML translator class for the builder
html_translator_class = "djangodocs.DjangoHTMLTranslator"
# Content template for the index page.
# html_index = ''