Skip to content

spec.documentation

Optional. Lists hand-authored documentation pages the generated project owns and ships itself. Each entry in pages declares a page the consumer (e.g. adl-cli) scaffolds as a stub markdown file at path with the given title, for the maintainers to fill in.

This is distinct from spec.card.documentationUrl, which is a single link to already-published external docs. documentation.pages instead describes the docs the project generates and maintains in-tree.

yaml
spec:
  documentation:
    pages:
      - title: Getting Started
        path: docs/getting-started.md
      - title: Configuration
        path: docs/configuration.md

Fields

FieldTypeDescription
pagesDocumentationPage[]The pages to scaffold. Required, with at least one entry.

DocumentationPage

FieldTypeDescription
titlestringHuman-readable page title, used as the heading and in navigation. Required.
pathstringDestination path for the stub file, relative to the project's docs root. Required.

The whole block is optional - omit spec.documentation if the project doesn't ship its own docs. When present, pages must list at least one page, and every page requires both title and path.