All plugins
Sitemap
sitemap.xml and robots.txt at the site root.
Overview
Walks the rendered output and writes a standards-compliant sitemap.xml and robots.txt. Respects page-level noindex frontmatter and uses canonical URLs configured in docmd.config.json.
Installation
# Sitemap ships with docmd — nothing to install.
docmd build
This plugin is built into docmd — nothing to install.
Permissions
Runtime behaviour of this plugin during a build:
| Capability | Used |
|---|---|
| Reads project files | Yes |
| Writes to site/ | Yes |
| Network requests | No |
| Runs subprocess | No |
Capabilities
docmd hooks this plugin registers:
post-build