gen-docs

command
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: Apache-2.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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