Publishes /llms.txt per the llmstxt.org convention: an H1, a summary
blockquote, an orientation paragraph, and H2 sections mirroring the
sidebar with links to every doc page (frontmatter titles and
descriptions, absolute URLs with trailing slashes), plus an Optional
section with the homepage and sitemap.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- astro.config.mjs: section-only URLs now redirect to the first article in
that section. /whp/admin/ used to render Apache's directory listing
because no index.html existed; now it serves a meta-refresh to
/whp/admin/overview/. Same for /whp/, /whp/getting-started/,
/whp/how-to/, /whp/site-builder/, /whp/reference/, /whp/add-ons/.
- public/.htaccess: ships in dist, disables Options Indexes + MultiViews
(defense in depth so any future section without a redirect doesn't
leak a listing), and routes 404/403 to /404.html.
- src/content/docs/404.md: replaces the bare 'check the URL' tagline
with two explicit actions — 'Go to the knowledge base home' and
'WHP getting started'.