Files
docmd-io--docmd/packages/plugins/sitemap
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
..

@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.

// docmd.config.js
module.exports = {
  siteUrl: 'https://mysite.com', // required
  plugins: {
    sitemap: { defaultChangefreq: 'weekly', defaultPriority: 0.8 }
  }
};

Part of the docmd documentation engine.

Documentation

See docs.docmd.io for full usage and API reference.

License

MIT