Files
docmd-io--docmd/packages/plugins/sitemap/README.md
T
wehub-resource-sync 6db8fca185
docmd CI verification / verify (push) Failing after 0s
chore: import upstream snapshot with attribution
2026-07-13 12:31:55 +08:00

23 lines
571 B
Markdown

# @docmd/plugin-sitemap
Automatically generates `sitemap.xml` for your docmd site at build time. Requires `siteUrl` in your config to produce valid absolute URLs. Bundled with `@docmd/core`.
```js
// docmd.config.js
module.exports = {
siteUrl: 'https://mysite.com', // required
plugins: {
sitemap: { defaultChangefreq: 'weekly', defaultPriority: 0.8 }
}
};
```
Part of the **[docmd](https://github.com/docmd-io/docmd)** documentation engine.
## Documentation
See **[docs.docmd.io](https://docs.docmd.io)** for full usage and API reference.
## License
MIT