Skip to content

docs: clarify newbie onboarding path#24

Merged
enixCode merged 1 commit into
mainfrom
docs/newbie-onboarding-fixes
Jun 4, 2026
Merged

docs: clarify newbie onboarding path#24
enixCode merged 1 commit into
mainfrom
docs/newbie-onboarding-fixes

Conversation

@enixCode
Copy link
Copy Markdown
Owner

@enixCode enixCode commented Jun 4, 2026

Why

A newbie starting on the stack hits four friction points in the docs. This is doc-only, light-process only.

Changes

  • Fix light doctor reference (factual bug). cli.mdx described checks (Docker install, daemon, gVisor, GPU plugin, Node >= 18) that src/cli/doctor.ts never runs. Replaced with the real behaviour: Node version, LIGHT_RUN_URL, and the all-in-one (binary present) vs explicit (/health reachable) modes. Now consistent with the real output already shown in getting-started.
  • Mental model up front. One-breath node/link/workflow definition at the top of getting-started so the commands have context before the reader reaches Workflows.
  • Explain main.js. light init scaffolds a main.js (SDK equivalent of light run example) that was never explained. Added a short "Run from code" section with the real snippet + pointer to the SDK guide.
  • Flag advanced sections. A Callout marks networkDefs/services as advanced so first-time readers can skip them.

Verification

  • Pre-push build + 170 tests pass locally.
  • Docs build CI on this PR validates all MDX (including the new <Callout>).

build with cc

- fix the `light doctor` reference: it checked Docker/gVisor/GPU/Node>=18 that doctor.ts never runs; document the real Node + LIGHT_RUN_URL + binary/health checks
- add a one-breath mental model (node/link/workflow) at the top of getting-started so the commands have context
- explain the scaffolded `main.js` (SDK equivalent of `light run example`) and point at the SDK guide
- flag networkDefs/services as advanced so first-time readers can skip them

build with cc
@enixCode enixCode merged commit 18a737f into main Jun 4, 2026
5 checks passed
@enixCode enixCode deleted the docs/newbie-onboarding-fixes branch June 4, 2026 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant