What Lives In website/
The public site lives under website/. The important areas are:
website/
content/
docs/
data/
docs-nav/
docs-versions.toml
scripts/
themes/sambee/
assets/
static/
In practice:
content/holds the authored website pages and docs pages.content/docs/holds the published versioned docs books.data/docs-versions.tomldeclares the canonical docs version order and the current version.data/docs-nav/<version>.tomldeclares book, section, and page ordering for one version.scripts/holds build helpers, docs validation, docs materialization, and docs editor automation.themes/sambee/holds the Hugo layouts, partials, CSS, and JS for the public site.assets/andstatic/hold source media, generated media, and static files.
How Docs Routing Works
Docs content is versioned in the content tree:
website/content/docs/<version>/<book>/<section>/<page>/index.md
The current docs version also publishes stable unversioned routes:
/docs/<book>//docs/<book>/<section>//docs/<book>/<section>/<page>/
Archived or explicit versioned routes remain available at:
/docs/<version>//docs/<version>/<book>/...
The routing rules, inheritance markers, and stable-current behavior are covered in more detail in Docs Content Model, Navigation, and Inheritance .
Build and Preview Pipeline
The website build is more than a plain Hugo render.
The normal production-style build is:
cd website
npm run build
That command runs:
- theme generation
- docs validation
- inherited-doc materialization
- Hugo site build
- homepage CTA validation
For local development, use:
./scripts/start-website
Or run the website dev workflow directly:
cd website
npm run dev
That dev workflow also keeps search indexing and WebP generation in sync while you iterate.