mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Fixed crash building translated docs since Sphinx 1.8.
This commit is contained in:
parent
bf01994a5c
commit
7206601040
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue