Unverified Commit c2d956d4 authored by Jiachi Liu's avatar Jiachi Liu Committed by GitHub

docs: change dynamic sitemap output filename (#66273)

x-ref: #65507 

Updating the dynamic sitemap routes output url to the one without `.xml`
extension
parent f7d37336
...@@ -97,7 +97,7 @@ export default function sitemap() { ...@@ -97,7 +97,7 @@ export default function sitemap() {
Output: Output:
```xml filename="acme.com/sitemap.xml" ```xml filename="acme.com/sitemap"
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url> <url>
<loc>https://acme.com</loc> <loc>https://acme.com</loc>
...@@ -163,7 +163,7 @@ export default function sitemap(): MetadataRoute.Sitemap { ...@@ -163,7 +163,7 @@ export default function sitemap(): MetadataRoute.Sitemap {
Output: Output:
```xml filename="acme.com/sitemap.xml" ```xml filename="acme.com/sitemap"
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url> <url>
<loc>https://acme.com</loc> <loc>https://acme.com</loc>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment