From ce4409d8e146621968c1f64424c897a3d95ceee0 Mon Sep 17 00:00:00 2001 From: Astroalex Date: Tue, 19 Jul 2022 20:10:44 +0200 Subject: [PATCH 1/2] fix: updating the README for `v0.2.0` changes --- packages/integrations/sitemap/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/integrations/sitemap/README.md b/packages/integrations/sitemap/README.md index b7536129f90f..06ac339acbff 100644 --- a/packages/integrations/sitemap/README.md +++ b/packages/integrations/sitemap/README.md @@ -84,10 +84,10 @@ 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/sitemap.xml`! +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`! > **Warning** -> If you forget to add a `site`, you'll get a friendly warning when you build, and the `sitemap.xml` file won't be generated. +> 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.
Example of generated files for a two-page website @@ -344,7 +344,7 @@ export default {
## Examples -- The official Astro website uses Astro Sitemap to generate [its sitemap](https://astro.build/sitemap.xml). +- The official Astro website uses Astro Sitemap to generate [its sitemap](https://astro.build/sitemap-index.xml). - The [integrations playground template](https://github.com/withastro/astro/tree/latest/examples/integrations-playground?on=github) comes with Astro Sitemap installed. Try adding a route and building the project! - [Browse projects with Astro Sitemap on GitHub](https://github.com/search?q=%22@astrojs/sitemap%22+filename:package.json&type=Code) for more examples! From 262bf028b26c0cfa774b2b0f3b551e96f7520d3d Mon Sep 17 00:00:00 2001 From: Nate Moore Date: Tue, 19 Jul 2022 14:02:15 -0500 Subject: [PATCH 2/2] Create chilled-cherries-decide.md --- .changeset/chilled-cherries-decide.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/chilled-cherries-decide.md diff --git a/.changeset/chilled-cherries-decide.md b/.changeset/chilled-cherries-decide.md new file mode 100644 index 000000000000..d04ab1d38926 --- /dev/null +++ b/.changeset/chilled-cherries-decide.md @@ -0,0 +1,5 @@ +--- +"@astrojs/sitemap": patch +--- + +Update README to reflect `@astrojs/sitemap@0.2.0` changes