From 29162c99fb9175076b2d0f6261f087c1381517b5 Mon Sep 17 00:00:00 2001 From: Sarah Rainsberger Date: Fri, 21 Jul 2023 09:59:23 -0300 Subject: [PATCH] [docs] @astrojs/sitemap README update (#7748) --- packages/integrations/sitemap/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/integrations/sitemap/README.md b/packages/integrations/sitemap/README.md index e8b5a01288..346ec54c95 100644 --- a/packages/integrations/sitemap/README.md +++ b/packages/integrations/sitemap/README.md @@ -17,7 +17,9 @@ A Sitemap is an XML file that outlines all of the pages, videos, and files on yo A sitemap file is recommended for large multi-page sites. If you don't use a sitemap, most search engines will still be able to list your site's pages, but a sitemap is a great way to ensure that your site is as search engine friendly as possible. -With Astro Sitemap, you don't have to worry about creating this file: build your Astro site how you normally would, and the Astro Sitemap integration will crawl your routes and create the sitemap file. +With Astro Sitemap, you don't have to worry about creating this XML file yourself: the Astro Sitemap integration will crawl your statically-generated routes and create the sitemap file, including [dynamic routes](https://docs.astro.build/en/core-concepts/routing/#dynamic-routes) like `[...slug]` or `src/pages/[lang]/[version]/info.astro` generated by `getStaticPaths()`. + +This integration cannot generate sitemap entries for dynamic routes in [SSR mode](https://docs.astro.build/en/guides/server-side-rendering/). ## Installation