Add node structure picture.

This commit is contained in:
Georg Brandl 2009-02-18 00:17:28 +01:00
parent 8777c34779
commit 219fdd282d

View File

@ -236,6 +236,22 @@ node.
In the last line, the nodes that should be put into the doctree are returned:
the target node and the admonition node.
The node structure that the directive returns looks like this::
+--------------------+
| target node |
+--------------------+
+--------------------+
| todo node |
+--------------------+
\__+--------------------+
| admonition title |
+--------------------+
| paragraph |
+--------------------+
| ... |
+--------------------+
The Event Handlers
------------------