Files
webstudio/fixtures
Ivan Starkov c620f1ecba feat: Add sitemap generation (#2566)
## Description

Generates following sitemap.xml for published sites

```
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

  <url>
    <loc>https://localhost:3000/</loc>
    <lastmod>2023-11-03</lastmod>
  </url>
    
  <url>
    <loc>https://localhost:3000/radix</loc>
    <lastmod>2023-11-03</lastmod>
  </url>
    
  <url>
    <loc>https://localhost:3000/_route_with_symbols_</loc>
    <lastmod>2023-11-03</lastmod>
  </url>
    
  <url>
    <loc>https://localhost:3000/form</loc>
    <lastmod>2023-11-03</lastmod>
  </url>
    
  <url>
    <loc>https://localhost:3000/heading-with-id</loc>
    <lastmod>2023-11-03</lastmod>
  </url>
    
</urlset>
```  


## Steps for reproduction

1. click button
2. expect xyz

## Code Review

- [ ] hi @kof, I need you to do
  - conceptual review (architecture, feature-correctness)
  - detailed review (read every line)
  - test it on preview

## Before requesting a review

- [ ] made a self-review
- [ ] added inline comments where things may be not obvious (the "why",
not "what")

## Before merging

- [ ] tested locally and on preview environment (preview dev login:
5de6)
- [ ] updated [test
cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md)
document
- [ ] added tests
- [ ] if any new env variables are added, added them to `.env.example`
and the `builder/env-check.js` if mandatory
2023-11-05 18:06:56 +02:00
..