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
  1. The include object must have a path field with the path from which the content will be included.

  2. The mode parameter must have the value link or be omitted; link is the default value.

  3. The includers parameter must contain a list of includer objects that will be called sequentially in the specified order.

  4. Each includer object must contain a name field with the includer type:

  5. Different includer types may have their own parameters, which are specified in the includer object.

Previous