aeb033bae51984b61ec4e20572ca1b11f0a17344
All checks were successful
Build and deploy / deploy (push) Successful in 23s
- 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'.
kb.anhonesthost.com
The An Honest Host knowledge base — customer documentation for WHP (our hosting platform) and related services.
Live at: https://kb.anhonesthost.com
Run locally
Requires Node 20+ (we test on 22).
npm install
npm run dev
# open http://localhost:4321
To expose the dev server on a different host/port (useful inside containers):
npm run dev -- --host 0.0.0.0 --port 8080
Adding or editing a doc
See CONTRIBUTING.md — it covers the page template, where files live, and how PRs are reviewed.
How it deploys
Push to main triggers a Gitea Actions workflow that builds the site and uploads it via SFTP to the production WHP site. No manual deploy step.
Licence
Content: CC BY 4.0. Build config and scripts: MIT (see source headers if any).
Languages
MDX
72.1%
TypeScript
16.6%
Astro
6.7%
CSS
2.5%
JavaScript
2.1%