whest-docs is the separate shared docs repository for the whest ecosystem.
It renders product-owned content from whest and whestbench behind one shell,
while intentionally leaving the current whest GitHub Pages site untouched during
phase 1.
- Keep the current
whestdocs deployment stable while the unified site is built in parallel. - Give
whestandwhestbenchone design language, one landing experience, and one future search surface. - Preserve source ownership in the product repos instead of moving all docs content into a central monorepo.
whest owns:
- docs content in
website/content/docs - product-specific docs components and MDX registration in
website/docs-kit
whestbench owns:
- docs content in
docs/ - product-specific docs components and MDX registration in
docs-kit/
whest-docs owns:
- shared layout and branding
- route planning and product landing experience
- source sync and deployment orchestration
- future cross-product navigation, search, and release pinning
Three source modes are supported:
remote + remoteBoth products resolve from the refs inconfig/sources.json.local + remoteOverride one repo locally, for exampleWHESTBENCH_PATH=/path/to/whestbench.local + localOverride bothWHEST_PATHandWHESTBENCH_PATH.
Start the site with:
npm install
npm run sync:sources
npm run prepare:content
npm run devBuild verification:
node --test tests/*.test.mjs
npm run buildThe active source policy lives in config/sources.json.
- Phase 1 follows
mainfor both source repos. - Later, the same topology can pin
refvalues to tags or coordinated releases.
whestorwhestbenchupdates docs-related files onmain.- The source repo sends a
repository_dispatchevent toAIcrowd/whest-docs. whest-docschecks out both source repositories.- The shared site prepares content metadata, builds, and deploys independently.
Required secrets:
AICROWD_DOCS_SOURCE_TOKENinwhest-docsfor cloning private source repositories during CI.AICROWD_DOCS_DISPATCH_TOKENin the source repos for sending dispatch events towhest-docs.
There is no automatic back-sync from whest-docs into the product repos.
