docmgr_validate_docs
Validate documentation for broken links, missing assets, syntax errors, and convention violations. Returns categorized issues with file and line numbers to fix before releases or in CI/CD.
Instructions
Validate documentation for broken links, missing assets, code snippet syntax, and convention compliance.
Use when: Before releases, after major doc updates, or as part of CI/CD to catch documentation issues Result: Returns list of validation issues categorized by type (broken links, missing assets, syntax errors, convention violations) with file/line numbers Mode: Read-only (only analyzes documentation)
Optional checks:
check_links: Validate internal links point to existing files
check_assets: Verify images/assets exist and have alt text
check_snippets: Validate code block syntax
validate_code_syntax: Deep syntax validation with TreeSitter (slower)
validate_symbols: Check documented symbols exist in codebase
Typical workflow: Run regularly to maintain documentation quality, fix reported issues, re-run until clean
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| docs_path | No | ||
| check_links | No | ||
| check_assets | No | ||
| check_snippets | No | ||
| validate_code_syntax | No | ||
| validate_symbols | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |