summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-12-14 14:31:29 -0500
committerTim Graham <timograham@gmail.com>2016-12-14 14:46:14 -0500
commit14fe184e17f7e56e80fff884860090ad72c3c25d (patch)
treea1f228ee868a6fa7706d7a8aec866ea5a15cee61 /docs
parentc2aa836c4f0fda8db0f3bfbea93f1380843913e2 (diff)
[1.10.x] Fixed missing versionadded/changed annotations on docs.djangoproject.com.
Fixed a regression in bacdfbf3d1eb23ff8e8110681728a5b467443446. Backport of e5d3f98abcdc20d64d99609bd0aa82331835b439 from master
Diffstat (limited to 'docs')
-rw-r--r--docs/_ext/djangodocs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/_ext/djangodocs.py b/docs/_ext/djangodocs.py
index 4ecda0aa2d..c0f0039ef4 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}