pages — File-based routing

Design decisions

Dynamic docs routing — docs/[...slug].astro catches all doc URLs. Locale extracted from slug. Content collection query renders correct locale markdown. Sidebar auto-filters to same locale.

Machine-readable endpoints — /llms.txt (index with descriptions), /llms-full.txt (all EN docs concatenated for LLM context windows), /md/[slug] (individual doc as raw markdown). These read markdown files via Node.js fs at build time.

Ping page — client-side network reachability tester. No server-side ICMP. Tests port 443 connectivity + HTTPS domain. Stores history in localStorage.

What’s done well

Pitfalls