The pages come from the VirtualGPU repo. To fix a doc, change it there under docs/ (or ROADMAP.md, CHANGELOG.md, CONTRIBUTING.md). This repo is the site around them.
You need Node.js 22.12 or newer.
npm install
npm run sync # pull the docs from VirtualGPU main
npm start # dev server on http://localhost:3000
npm run build # production build, fails on broken links
npm run typecheck
npm run format
npm run check-text # no em or en dashesTo see docs you are writing before they are on main, clone VirtualGPU next to this repo and run npm run sync:local instead of npm run sync.
| Path | What it is |
|---|---|
docs/ |
Made by the sync from the VirtualGPU repo. Don't edit |
src/data/ |
JSON made by the sync, like the profile list |
src/pages/ |
The landing page |
src/theme/, src/css/ |
Theme overrides and styles |
scripts/sync-content.mjs |
The sync |
The Sync Docs workflow runs once a day and commits what changed. The push deploys the site.
- Fork the repo and create a branch.
- Make your change and run
npm run build. - Commit with a conventional message, like
fix: landing page links. The Git hooks format your staged files and check the message. - Open a pull request.
Short sentences, plain words, no em dashes.