Implicit rules

Back to Understanding Remark

This section describes the rules that are used to deduce descriptions and parents for documents for which they have not been explicitly specified.

Unspecified descriptions

Remark uses the following rules to deduce a description for a document without an explicitly specified description.

Unspecified parents

Remark uses the following rules to deduce a parent for a document without an explicitly specified parent.

 * If no such document can be found, the orphan document is assigned as the parent.

 * If there is a unique such document, that document is assigned as the parent.

 * If there are multiple such documents, priority is given to files with the 
 RemarkPage document type. If there is now a unique such document, that document
 is assigned as the parent.

 * Otherwise one of the files is picked arbitrarily, and a warning is emitted 
 to inform about the ambiguity.