Inserting arbitrary content (includers)
Article last updated at August 11, 2026
You can include arbitrary content in the documentation via includers — a special mechanism for extending a documentation project with additional files at the build stage.
Connection
Includers are connected in the includers field of a table of contents item with the include parameter:
items:
- name: <item-name>
include:
path: <path-where-to-include>
includers:
- name: <name-of-the-first-includer>
<includer-parameter>: <includer-parameter-value>
- name: <name-of-the-second-includer>
- name: <name-of-the-third-includer>
mode: link
-
The
includeobject must have apathfield with the path from which the content will be included. -
The
modeparameter must have the valuelinkor be omitted;linkis the default value. -
The
includersparameter must contain a list of includer objects that will be called sequentially in the specified order. -
Each includer object must contain a
namefield with the includer type: -
Different includer types may have their own parameters, which are specified in the includer object.