diff options
| author | Tim Graham <timograham@gmail.com> | 2018-10-01 20:44:02 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-10-01 20:44:57 -0400 |
| commit | 39fd80470cf0651827719e3c63c8d1d745ecce15 (patch) | |
| tree | c1f9b47f999234c2ce997f066b65e20c5e117ba7 /docs | |
| parent | cd9391ca3d44cd760aedac108863039df3aae897 (diff) | |
[2.1.x] Fixed crash building translated docs since Sphinx 1.8.
Backport of 7206601040304c762f5014048fda6fa68ec1ee84 from master.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/_ext/djangodocs.py | 2 |
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 |
