diff options
author | Tim Graham <timograham@gmail.com> | 2016-12-05 14:00:10 -0500 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2016-12-08 13:20:54 -0500 |
commit | ce9f56bb9cb8147d13508a1334e41d2faac4ab91 (patch) | |
tree | 968b8f17f4ae73ebc803997f7a6725e4eabf018f | |
parent | 1b6649c6d177286852cc9c13fdf0fa65f17cb1f8 (diff) | |
download | django-ce9f56bb9cb8147d13508a1334e41d2faac4ab91.tar.gz |
[1.10.x] Removed deprecated html_translator_class sphinx config option.
Backport of bacdfbf3d1eb23ff8e8110681728a5b467443446 from master
-rw-r--r-- | docs/_ext/djangodocs.py | 1 | ||||
-rw-r--r-- | docs/conf.py | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/docs/_ext/djangodocs.py b/docs/_ext/djangodocs.py index 048363122f..4ecda0aa2d 100644 --- a/docs/_ext/djangodocs.py +++ b/docs/_ext/djangodocs.py @@ -63,6 +63,7 @@ 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) return {'parallel_read_safe': True} diff --git a/docs/conf.py b/docs/conf.py index 8c89265937..5f57ce57e2 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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 = '' |