summaryrefslogtreecommitdiff
path: root/docs/_ext/djangodocs.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2018-10-01 20:44:02 -0400
committerTim Graham <timograham@gmail.com>2018-10-01 20:44:02 -0400
commit7206601040304c762f5014048fda6fa68ec1ee84 (patch)
tree0120cdf2e30b8248253d6f6d7a4f0e5a1fc93e13 /docs/_ext/djangodocs.py
parentbf01994a5ccc07cbe4b011b53b644eba04da052e (diff)
downloaddjango-7206601040304c762f5014048fda6fa68ec1ee84.tar.gz
Fixed crash building translated docs since Sphinx 1.8.
Diffstat (limited to 'docs/_ext/djangodocs.py')
-rw-r--r--docs/_ext/djangodocs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/_ext/djangodocs.py b/docs/_ext/djangodocs.py
index 19d142b9db..6f8c112539 100644
--- a/docs/_ext/djangodocs.py
+++ b/docs/_ext/djangodocs.py
@@ -210,6 +210,8 @@ class ConsoleNode(nodes.literal_block):
Custom node to override the visit/depart event handlers at registration
time. Wrap a literal_block object and defer to it.
"""
+ tagname = 'ConsoleNode'
+
def __init__(self, litblk_obj):
self.wrapped = litblk_obj