Browse Source

Fixed missing versionadded/changed annotations on docs.djangoproject.com.

Fixed a regression in bacdfbf3d1eb23ff8e8110681728a5b467443446.
Tim Graham 8 years ago
parent
commit
e5d3f98abc
1 changed files with 1 additions and 0 deletions
  1. 1 0
      docs/_ext/djangodocs.py

+ 1 - 0
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}