manage_sitemap
Generate, validate, update, and list sitemap.xml to maintain accurate documentation links for SEO and deployment tracking.
Instructions
Generate, validate, and manage sitemap.xml as the source of truth for documentation links. Sitemap.xml is used for SEO, search engine submission, and deployment tracking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform: generate (create new), validate (check structure), update (sync with docs), list (show all URLs) | |
| docsPath | Yes | Path to documentation root directory | |
| baseUrl | No | Base URL for the site (e.g., https://user.github.io/repo). Required for generate/update actions. | |
| includePatterns | No | File patterns to include (default: **/*.md, **/*.html, **/*.mdx) | |
| excludePatterns | No | File patterns to exclude (default: node_modules, .git, dist, build, .documcp) | |
| updateFrequency | No | Default change frequency for pages | |
| useGitHistory | No | Use git history for last modified dates (default: true) | |
| sitemapPath | No | Custom path for sitemap.xml (default: docsPath/sitemap.xml) |