Skip to content

Commit a09be49

Browse files
committed
mapping interface
1 parent 4a7859c commit a09be49

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/extdev/envapi.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ Build environment API
5353

5454
Temporary data storage while reading a document.
5555

56+
Extensions may use the mapping interface provided by
57+
``env.current_document`` to store data relating to the current document,
58+
but should use a unique prefix to avoid name clashes.
59+
5660
.. important::
5761
Only the following attributes constitute the public API.
5862
The type itself and any methods or other attributes remain private,

0 commit comments

Comments
 (0)