selfdoc v0.37.1 /selfdoc gen

Reference for the selfdoc gen command — usage, flags, arguments, and examples for the gen subcommand of the selfdoc CLI.

#selfdoc gen

Auto-generate documentation pages from project structure

Effect: mutating

#Flags

Flags
NameShortTypeDefaultEnvDescription
--auto-commitboolTrueAutomatically commit generated documentation pages and root files to git
--version-overridestrProject version to stamp into version-bearing generated content instead of the version currently recorded in pyproject.toml/package.json. Release orchestrators pass the about-to-be-released version here so generated root files are not one release behind (generation runs before the version bump lands)
Search