@astrojs/sitemap
does not always output sitemaps to dist/
#4919
Labels
improve documentation
Enhance existing documentation (e.g. add an example, improve description)
📚 Subject area/topic
Integrations
📋 Page(s) affected (or suggested, for new content)
https://docs.astro.build/en/guides/integrations-guide/sitemap/
📋 General description or bullet points (if proposing new content)
The
@astrojs/sitemap
docs currently state (emphasis mine):However, this is not always true. When using the Vercel adapter, files are output to
.vercel/output/static/
instead ofdist/
. I'm not sure if other adapters also have output directories which diverge fromdist/
.It took me awhile to understand why the CLI was saying
@astrojs/sitemap: "sitemap-index.xml" is created.
but nothing was displaying in/dist
as the docs said they should.🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)
https://stackblitz.com/edit/github-fuztr3?file=src%2Fpages%2Findex.astro
The text was updated successfully, but these errors were encountered: