the context for autonumbering of document and sections
The configuration for this document merged with the configurations for its parent trees.
the document this context refers to
the parent document tree of the referred document
Resolves the context reference with the specified path relative to this document.
Resolves the context reference with the specified path relative to
this document. A reference config.value
for example will first
look up the value in the configuration of this document and then,
if not found, recursively look it up in parent trees until the
root tree is reached. If the value is not found None
will
be returned.
the root document tree of the referred document
The (optional) template to use when rendering this document.
Creates a copy of this context for the specified document while keeping all the other information.
Creates a copy of this context with a new root object for resolving references.
Creates a copy of this context with a new root object for resolving references. This is useful for custom template directives which need to provide a new scope for a nested part inside the directive tags.
Represents a single document,its parent and root directories, its asssociated template and other context information that can not be obtained from the Document instance itself.