Skip to content

🐛 Emit the sitemap at /docs/sitemap.xml with absolute URLs - #34

Merged
joshbermanssw merged 1 commit into
mainfrom
jb/fix-sitemap
Sep 14, 2026
Merged

🐛 Emit the sitemap at /docs/sitemap.xml with absolute URLs#34
joshbermanssw merged 1 commit into
mainfrom
jb/fix-sitemap

Conversation

@joshbermanssw

Copy link
Copy Markdown
Member

cc: —
Related PBI: tinacms/tinacms#7552

TL;DR

The sitemap was written to public/doc/ (so it lived at /docs/doc/sitemap.xml), every <loc> was relative because NEXT_PUBLIC_SITE_URL is unset on Vercel, and the 41 /r/<alias> redirect routes were listed as pages. It now lands at /docs/sitemap.xml and /docs/robots.txt, falls back to settings.siteUrl (https://tina.io) for absolute URLs, and excludes the alias routes; tina.io's robots will point at https://tina.io/docs/sitemap.xml (tina.io#4877).

Links


Changes made by Claude Opus 5 via Claude Code.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0153SWx9yoyPC323i2ed9r8B
@vercel

vercel Bot commented Sep 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Sep 14, 2026 1:04am UTC

Request Review

@joshbermanssw
joshbermanssw requested a review from a team as a code owner September 14, 2026 01:02
@joshbermanssw
joshbermanssw merged commit 78c056c into main Sep 14, 2026
7 checks passed
@joshbermanssw
joshbermanssw deleted the jb/fix-sitemap branch September 14, 2026 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant