diff --git a/docs/_ext/djangodocs.py b/docs/_ext/djangodocs.py index 4ecda0aa2d4..c0f0039ef4e 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}