mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
Removed deprecated html_translator_class sphinx config option.
This commit is contained in:
parent
b059ddf066
commit
bacdfbf3d1
@ -63,6 +63,7 @@ def setup(app):
|
|||||||
man=(visit_snippet_literal, depart_snippet_literal),
|
man=(visit_snippet_literal, depart_snippet_literal),
|
||||||
text=(visit_snippet_literal, depart_snippet_literal),
|
text=(visit_snippet_literal, depart_snippet_literal),
|
||||||
texinfo=(visit_snippet_literal, depart_snippet_literal))
|
texinfo=(visit_snippet_literal, depart_snippet_literal))
|
||||||
|
app.set_translator('djangohtml', DjangoHTMLTranslator)
|
||||||
return {'parallel_read_safe': True}
|
return {'parallel_read_safe': True}
|
||||||
|
|
||||||
|
|
||||||
|
@ -192,9 +192,6 @@ html_last_updated_fmt = '%b %d, %Y'
|
|||||||
# typographically correct entities.
|
# typographically correct entities.
|
||||||
html_use_smartypants = True
|
html_use_smartypants = True
|
||||||
|
|
||||||
# HTML translator class for the builder
|
|
||||||
html_translator_class = "djangodocs.DjangoHTMLTranslator"
|
|
||||||
|
|
||||||
# Content template for the index page.
|
# Content template for the index page.
|
||||||
# html_index = ''
|
# html_index = ''
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user