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() {
Output:
```xml filename="acme.com/sitemap.xml"
```xml filename="acme.com/sitemap"
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://acme.com</loc>
......@@ -163,7 +163,7 @@ export default function sitemap(): MetadataRoute.Sitemap {
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">
<url>
<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