Maintain and publish the docs
Local workflow
From the repository root:
cd website
npm ci
npm run dev| Change | File or directory |
|---|---|
| Page content | content/docs/ |
| Navigation order | Each folder's meta.json |
| Theme | app/global.css |
| Screenshots | Repository docs/screenshots/, copied before dev/build |
| Logo | Repository assets/vapora.svg, copied before dev/build |
npm run verifyVerification checks types, renders every page, validates links and anchors, and tests the exported search index with the real client. CI runs the same checks on documentation PRs.
Screenshots open at full size when selected. Platform and shell tabs keep each set of commands together; code blocks support copying.
Writing conventions
Keep the README as a practical entry point with runnable examples. The site follows Diátaxis: tutorials, task guides, reference and explanation.
| Information | Check against |
|---|---|
| Defaults and ranges | src/model.ts |
| CLI commands and flags | src/cli.ts |
| Exports | src/analysis.ts |
| Formulas | src/scoring.ts |
- Keep paragraphs short; use steps for tasks and tables for comparisons.
- Put source dates, coverage and missing-data rules beside the affected feature.
- Label illustrative IDs and fixture screenshots.
- Preserve release and verification reports as dated evidence.
Design
The docs use the original Steam olive palette from ui/style.css.
| Role | Color |
|---|---|
| Page background | #3e4637 |
| Navigation and controls | #4c5844 |
| Hover | #5a6a50 |
| Text | #d8ded3 |
| Active links and focus | #d8cc75 |
Controls have square edges. Navigation works on desktop and mobile, with visible keyboard focus and reduced-motion support. No remote fonts or assets are required.
Build and host
npm ci
npm run verifyThe site is hosted on vapora.micr.dev through GitHub Pages. It documents the local app; the Steam scanner runs locally.
- The documentation workflow verifies PR changes.
- On
main, it uploads the checkedwebsite/out/artifact. - The
github-pagesenvironment deploys after a successful build. Manual runs are also available through Actions.
The static export needs no Steam key or application server.
| Route | Content |
|---|---|
/ | Opens the docs overview |
/docs/reference/cli/ | CLI reference, served from index.html |
/api/search | Static search index, read in the browser |
/llms.txt | Documentation index for text clients |
/llms-full.txt | Full documentation, including all command tabs |
/404.html | Missing-page response |
| Hosting setting | Value |
|---|---|
| Pages publishing source | GitHub Actions |
| Custom domain | vapora.micr.dev |
| DNS CNAME | vapora → microck.github.io |
Next.js basePath | None; deployed at the domain root |
| HTTPS | Enforce after GitHub issues the certificate |