Updated
Reference for the selfdoc build command — usage, flags, arguments, and examples for the build subcommand of the selfdoc CLI.
#selfdoc build
Build the documentation site from templates and source code
Effect: mutating
#Flags
| Name | Short | Type | Default | Env | Description |
|---|---|---|---|---|---|
--auto-commit | bool | True | Automatically commit updated content hash tracking files to git after the build | ||
--locale | str | Build only the specified locale instead of all (e.g., 'en') | |||
--version | str | Build only the specified version instead of all (e.g., '1.0.0') | |||
--drafts | bool | Include posts marked as draft in the build output alongside published posts | |||
--target | str | Build target: empty for full build ('posts' builds moved to selfblog) |