summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Eva Decker <itsevadecker@gmail.com> 2023-10-18 04:58:41 -0400
committerGravatar GitHub <noreply@github.com> 2023-10-18 09:58:41 +0100
commitedc467d3b0c341ed60728fd80be36ea1fe335050 (patch)
tree4d3e6ea8b44a136242f955ddf59269295f636e20
parent2c18e2d127516c2130cf50369885a30af0190d58 (diff)
downloadastro-edc467d3b0c341ed60728fd80be36ea1fe335050.tar.gz
astro-edc467d3b0c341ed60728fd80be36ea1fe335050.tar.zst
astro-edc467d3b0c341ed60728fd80be36ea1fe335050.zip
fix(docs): Update `@astrojs/sitemap` readme to clarify build output location (#8844)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
-rw-r--r--packages/integrations/sitemap/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/integrations/sitemap/README.md b/packages/integrations/sitemap/README.md
index 92e760303..6272feaa7 100644
--- a/packages/integrations/sitemap/README.md
+++ b/packages/integrations/sitemap/README.md
@@ -78,7 +78,7 @@ export default defineConfig({
Note that unlike other configuration options, `site` is set in the root `defineConfig` object, rather than inside the `sitemap()` call.
-Now, [build your site for production](https://docs.astro.build/en/reference/cli-reference/#astro-build) via the `astro build` command. You should find your sitemap under `dist/` for both `sitemap-index.xml` and `sitemap-0.xml`!
+Now, [build your site for production](https://docs.astro.build/en/reference/cli-reference/#astro-build) via the `astro build` command. You will find both `sitemap-index.xml` and `sitemap-0.xml` in the `dist/` folder (or your custom [output directory](https://docs.astro.build/en/reference/configuration-reference/#outdir) if set).
> **Warning**
> If you forget to add a `site`, you'll get a friendly warning when you build, and the `sitemap-index.xml` file won't be generated.