v0.2.4

Documentation version

v0.2.4v0.3.2
en

Documentation language

en

Search documentation

ESC

Documentation search

What are you working on?

Find a guide, configuration option, action, or ESH topic.

Browse documentation
DocsCatalog action

Catalog action

evin/catalog@v1 compiles Markdown and reStructuredText records into the versioned JSON catalog consumed by editor and terminal tooling. It has no web site URL, theme, layout, or preview-server settings.

Configuration

All fields are optional and unknown fields are rejected.

FieldTypeDefaultMeaning
source_dirpathdocsSource root, relative to the workspace unless absolute.
outpathdist/catalog.jsonCatalog JSON destination, relative to the workspace unless absolute.
includestring list[]Source paths, directories, or globs to compile. Empty discovers the full tree.
excludestring list[]Paths and globs excluded from discovery.
extract_frontmatterbooleantrueParse Markdown frontmatter before catalog extraction.
reference_prefixstringREFFormal reference prefix; ASCII letters and digits only.

The action uses the shared documentation parser and formal-reference validation. Catalog source entries use lsp, symbol, and keyword fences or the equivalent reStructuredText directives. Duplicate names and malformed entries fail catalog validation before the output is written.

tasks:
  catalog:
    stage: Docs
    steps:
      - uses: evin/catalog@v1
        with:
          source_dir: docs/reference
          include: ["**/*.md", "**/*.rst"]
          out: dist/catalog.json

The task publishes the absolute output_file and symbol_count (the combined number of symbols and keywords). site_url is not part of this action's configuration.

action.evin/catalog@v1 Compile documentation symbols and keywords into a tooling catalog.

Configure this action with a with: mapping.

Page source: reference/actions/15.catalog-action.5170.md