Add script to generate sitemap.xml and update related configurations (#742)

* Add script to generate sitemap.xml and update related configurations

* chore: add robots.txt referencing sitemap.xml

---------

Co-authored-by: Jack Carter <128555021+SunsetDrifter@users.noreply.github.com>
This commit is contained in:
Maycon Santos
2026-05-12 10:13:30 +02:00
committed by GitHub
co-authored by Jack Carter
parent ce68c49337
commit bc573143ae
5 changed files with 100 additions and 2 deletions
+1
View File
@@ -20,6 +20,7 @@ npm run gen # Regenerate API docs from NetBird OpenAPI spec
npm run gen:llm # Regenerate LLM-friendly markdown (auto-runs with dev/build)
npm run gen:edit-routes # Regenerate edit-on-GitHub routes (auto-runs with dev/build)
npm run gen:last-updated # Regenerate per-page git last-modified dates (auto-runs with dev/build)
npm run gen:sitemap # Regenerate public/sitemap.xml (auto-runs with dev/build)
```
## Security boundaries