Skip to content

📚 Add Markdown content negotiation guide - #58

Open
isaaclombardssw wants to merge 4 commits into
mainfrom
codex/markdown-content-negotiation-guide
Open

isaaclombardssw wants to merge 4 commits into
mainfrom
codex/markdown-content-negotiation-guide

Conversation

@isaaclombardssw

@isaaclombardssw isaaclombardssw commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

Add a guide for serving source MDX at existing page URLs when clients prefer Markdown. The Next.js 15 example matches TinaDocs' shipped middleware; Astro and Vite use the same negotiator selection for quality values, wildcards, and media-type casing.

The guide covers Vary: Accept, CDN cache separation, static-hosting limits, Astro's request-time rendering and source-file requirements, and a negotiation test matrix. Added to Technical Guides navigation.

Validation:

  • pnpm tinacms build --local --skip-cloud-checks
  • All five TypeScript snippets parse.
  • Extracted snippets passed 26 header/path cases in a local harness covering Next.js middleware, Astro middleware, and Vite development/preview hooks, including static fallback and Vary handling. Astro/Vite framework hooks were stubbed; these were not full deployments.

Related: tinacms/tina-docs#355; tinacms/tina.io#4896.

@isaaclombardssw
isaaclombardssw requested a review from a team as a code owner September 22, 2026 00:37
@vercel

vercel Bot commented Sep 22, 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 Oct 12, 2026 5:21am UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — 56c41647 Deployed Oct 12, 2026 by vercel[bot]
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