gen-docs

command
v0.8.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Command gen-docs regenerates the per-command markdown reference under docs/assets/command-reference/ from the Cobra command tree. It is not a user-facing kcp subcommand — invoke via `make docs-gen`.

Parent commands (and the root) are emitted as <path>/index.md; leaves are emitted as <parent-path>/<name>.md. SEE ALSO links are rewritten so they resolve correctly inside the nested layout. This lets mkdocs-awesome-pages infer the sidebar from the filesystem instead of requiring manual nav maintenance in mkdocs.yml.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL