From 7206601040304c762f5014048fda6fa68ec1ee84 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 1 Oct 2018 20:44:02 -0400 Subject: [PATCH] Fixed crash building translated docs since Sphinx 1.8. --- docs/_ext/djangodocs.py | 2 ++ 1 file changed, 2 insertions(+) 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