diff --git a/installation.mdx b/installation.mdx index b3b333e96..b4e943cae 100644 --- a/installation.mdx +++ b/installation.mdx @@ -198,6 +198,19 @@ mint a11y --skip-contrast mint a11y --skip-alt-text ``` +### Validate documentation build + +Validate your documentation build in strict mode, which exits with an error if there are any warnings or errors. Use this command for CI/CD pipelines to prevent broken documentation deployments. + +```bash +mint validate +``` + +Use flags to configure the validation command. + +- `--groups [groupname]`: Mock user groups for validation (useful when testing partial authentication) +- `--disable-openapi`: Disable OpenAPI file generation during validation + ### Check OpenAPI spec Check your OpenAPI file for errors with the following command: