docs-validate
Validate Megamono repository documentation
When to use it
Validate Megamono repository documentation. Use this when you want to add the corresponding files or task to your workspace.
Usage
Configure an Nx target on the owning project, then invoke it with npm exec -- nx run <project>:<target>. The executor identifier is not a standalone CLI command.
{
"targets": {
"reviewed-action": {
"executor": "@megamono/plugin:docs-validate",
"options": {}
}
}
}This target is a configuration example. Supply required values and review side effects before invoking it.
Options
Use these options with @megamono/plugin:docs-validate. Nx uses the camelCase names shown here; the CLI reference describes command-line aliases. Some options are required only for particular choices.
| Option | Required | Type | Default | Description |
|---|---|---|---|---|
config | No | string | "megamono.json" | Workspace-relative Megamono configuration path. |
contentConfig | No | string | "content-collections.ts" | Workspace-relative Content Collections configuration path. |
outputDir | No | string | ".content-collections" | Workspace-relative Content Collections output directory. |
docsRoot | No | string | — | Override the configured documentation root. |
verbose | No | boolean | false | Print a successful document count. |
Next steps
Review changed files and run the affected project's checks. For options that accept structured values, run the generator's --help or consult the schema in the installed package.