diff --git a/docs/_ext/djangodocs.py b/docs/_ext/djangodocs.py index 7d975f47c6..a5d545f46b 100644 --- a/docs/_ext/djangodocs.py +++ b/docs/_ext/djangodocs.py @@ -64,6 +64,7 @@ def setup(app): 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}