Contributing
Cue2 is open source. Application code lives at github.com/Tech-mop/Cue2. This documentation site lives at github.com/Tech-mop/Docs.Cue2.Live.
Docs workflow
cd Docs.Cue2.Live
npm install
npm start # http://localhost:3000
npm run build # must pass (broken links throw)
- Write Markdown under
docs/. - Register pages in
sidebars.js. - Add screenshots under
static/img/docs/per image checklist. - Keep technical numbers aligned with application source.
- Do not name competing products in the manual.
Cue2 version on every page
Each page declares which Cue2 release it was written or last verified for:
---
title: Example
cue2_version: v0.1:StripyHat
---
A badge at the top of the article shows Applies to Cue2 ….
If a page’s cue2_version differs from the site current version, the badge highlights and shows the site current line.
| What | Where |
|---|---|
| Site current version | src/cue2DocMeta.js → CUE2_CURRENT_VERSION |
| Per-page version | Front matter cue2_version on each docs/**/*.md |
| Badge UI | src/theme/DocItem/Content/index.js |
When Cue2 ships a new version
- Update
CUE2_CURRENT_VERSIONinsrc/cue2DocMeta.js(e.g.v0.2:NewCodeName). - Re-read and correct each page as needed.
- Set that page’s
cue2_versionto the new value when it is verified. - Optionally bulk-set remaining pages only after a full pass — leaving older values is intentional so readers see which pages lag.
Format: v{major}.{minor}:{CodeName} (matches product naming, e.g. v0.1:StripyHat).
Application contributions
Follow the repository’s contribution guidelines, code style, and PR process. Prefer small, reviewed changes with clear user-facing notes.