book: site install page #802

Closed
opened 2026-11-14 21:20:48 +00:00 by orion · 3 comments
Collaborator

Slice of #597 (the pages of book/site/), which is a slice of the epic #582. Starts after nothing; #585 is merged and book/site/install.md is on main. The other site pages are separate steps of #597. Governing note: book/CONCEPT.md ("How a page is written", "What CI checks"). Touches the seed: no (documentation only; no syntax change, no native, no driver flag, no std name looked up by the compiler).

Goal

Rework book/site/install.md for the person who has just found torb.dev and wants the toolchain on their machine. The page says in its first paragraph what it covers, then gives the one command per system (Linux, macOS and FreeBSD; Windows), then how to check the install (torb --version, and a first torb run of a one-line program with its real output), then what torb build needs (a C compiler) and how to get one per system, then torb upgrade and the channels in prose. Building from source is one short paragraph without a link into docs/contributing/. The page states no dates and no concrete release numbers that go stale (the channels are explained by what they follow, not by an example version table), and has no history words. Front matter stays kind: site, order: 20 (the site pages keep the kind site: torb docs site writes them to the root of torb.dev, see the intro of book/site/index.md); the source: list keeps the install scripts and compiler/src/cli/upgrade.trb. Read like book/guide/first-project.md: prose first, a real session under every step.

Replaces in docs/

Nothing: install.md moved unchanged into book/site/ in #585 and has no older page in docs/.

Acceptance criteria

  • book/site/install.md keeps the front matter keys of the other site pages (title, summary, kind: site, status: stable, order: 20, source) and is written as book/CONCEPT.md, "How a page is written", says: the first paragraph says in two to four sentences what the page covers, headings name ideas, prose first, no history words, no internal references (no issue numbers, no links into docs/design, docs/contributing, docs/internals, CONCEPT.md), no Related/Next/See also sections, lists of at most seven items, every section starts with a sentence; links only to pages that exist on main or the install scripts at torb.dev
  • The order is: the one command per system first, then how to check the install, then what torb build needs, then upgrading and channels, then building from source
  • The check-the-install step shows a real console session (torb --version, a one-line program run with torb run) with the real output, run before it is pasted; a step that needs the network (the install command itself) shows the command only, with no invented output
  • The channels (stable, preview, nightly) are explained by what each follows; no table of example version numbers and no date of a release
  • The section on building from source contains no link into docs/; a reader who wants to build the compiler is told in one sentence where the repository is
  • book/site/index.md is regenerated with torb docs index book (the install line follows the new summary); the generated block is not edited by hand
  • torb docs check book, torb docs index --check book and torb docs site book --check pass, and tools/gates.sh passes in CI
  • No other page is changed except book/site/index.md and the links that must follow from the wording of the page (a page that quotes the old channels table is updated in the same PR); agents.md, play.md and benchmarks.md are not started

Notes for the implementer

  • Read book/CONCEPT.md, book/guide/first-project.md and the install scripts (tools/install.sh, tools/install.ps1) first; every command and flag the page names is checked against the script or compiler/src/cli/upgrade.trb, not copied from the old text. Run every torb example before pasting its output.
  • The skills are built from docs/ (torb docs skill docs skills): if a skill template names site/install.md, keep the page's facts that the skill needs and run torb docs skill --check in CI to see it stay green.
  • Commits: one Conventional Commit, docs(book): rework the install page; a second one (docs(book): regenerate the site index) only if the index changes on its own.
  • Size: one PR, 30-40 minutes. Do not touch the other site pages.
Slice of #597 (the pages of `book/site/`), which is a slice of the epic #582. Starts after nothing; #585 is merged and `book/site/install.md` is on main. The other site pages are separate steps of #597. Governing note: `book/CONCEPT.md` ("How a page is written", "What CI checks"). Touches the seed: no (documentation only; no syntax change, no native, no driver flag, no std name looked up by the compiler). ## Goal Rework `book/site/install.md` for the person who has just found torb.dev and wants the toolchain on their machine. The page says in its first paragraph what it covers, then gives the one command per system (Linux, macOS and FreeBSD; Windows), then how to check the install (`torb --version`, and a first `torb run` of a one-line program with its real output), then what `torb build` needs (a C compiler) and how to get one per system, then `torb upgrade` and the channels in prose. Building from source is one short paragraph without a link into `docs/contributing/`. The page states no dates and no concrete release numbers that go stale (the channels are explained by what they follow, not by an example version table), and has no history words. Front matter stays `kind: site`, `order: 20` (the site pages keep the kind `site`: `torb docs site` writes them to the root of torb.dev, see the intro of `book/site/index.md`); the `source:` list keeps the install scripts and `compiler/src/cli/upgrade.trb`. Read like `book/guide/first-project.md`: prose first, a real session under every step. ## Replaces in `docs/` Nothing: `install.md` moved unchanged into `book/site/` in #585 and has no older page in `docs/`. ## Acceptance criteria - [ ] `book/site/install.md` keeps the front matter keys of the other site pages (`title`, `summary`, `kind: site`, `status: stable`, `order: 20`, `source`) and is written as `book/CONCEPT.md`, "How a page is written", says: the first paragraph says in two to four sentences what the page covers, headings name ideas, prose first, no history words, no internal references (no issue numbers, no links into `docs/design`, `docs/contributing`, `docs/internals`, `CONCEPT.md`), no Related/Next/See also sections, lists of at most seven items, every section starts with a sentence; links only to pages that exist on main or the install scripts at torb.dev - [ ] The order is: the one command per system first, then how to check the install, then what `torb build` needs, then upgrading and channels, then building from source - [ ] The check-the-install step shows a real `console` session (`torb --version`, a one-line program run with `torb run`) with the real output, run before it is pasted; a step that needs the network (the install command itself) shows the command only, with no invented output - [ ] The channels (`stable`, `preview`, `nightly`) are explained by what each follows; no table of example version numbers and no date of a release - [ ] The section on building from source contains no link into `docs/`; a reader who wants to build the compiler is told in one sentence where the repository is - [ ] `book/site/index.md` is regenerated with `torb docs index book` (the install line follows the new `summary`); the generated block is not edited by hand - [ ] `torb docs check book`, `torb docs index --check book` and `torb docs site book --check` pass, and `tools/gates.sh` passes in CI - [ ] No other page is changed except `book/site/index.md` and the links that must follow from the wording of the page (a page that quotes the old channels table is updated in the same PR); `agents.md`, `play.md` and `benchmarks.md` are not started ## Notes for the implementer - Read `book/CONCEPT.md`, `book/guide/first-project.md` and the install scripts (`tools/install.sh`, `tools/install.ps1`) first; every command and flag the page names is checked against the script or `compiler/src/cli/upgrade.trb`, not copied from the old text. Run every `torb` example before pasting its output. - The skills are built from `docs/` (`torb docs skill docs skills`): if a skill template names `site/install.md`, keep the page's facts that the skill needs and run `torb docs skill --check` in CI to see it stay green. - Commits: one Conventional Commit, `docs(book): rework the install page`; a second one (`docs(book): regenerate the site index`) only if the index changes on its own. - Size: one PR, 30-40 minutes. Do not touch the other site pages.
Author
Collaborator

[loop:torbscript] decided by the loop: ready. Goal, testable acceptance criteria, the governing note (book/CONCEPT.md), seed impact (none) and size (one PR, one Conventional Commit) are stated; no open or closed issue covers the install page (searched "install page", "site/install", "book: site").

[loop:torbscript] decided by the loop: ready. Goal, testable acceptance criteria, the governing note (`book/CONCEPT.md`), seed impact (none) and size (one PR, one Conventional Commit) are stated; no open or closed issue covers the install page (searched "install page", "site/install", "book: site").
Author
Collaborator

[loop:torbscript] claim implement by session:loop-torbscript-20261114-0644 until 2026-11-15T04:30:00+01:00

[loop:torbscript] claim implement by session:loop-torbscript-20261114-0644 until 2026-11-15T04:30:00+01:00
Author
Collaborator

[loop:torbscript] release implement: #803, head 7142493b98, CI pending (all four checks queued for a runner for 40+ min, none started). Local quick checks: torb docs index --check, docs site --check, docs skill --check clean; docs check shows nothing on install.md. Review requested from argus.

next: waiting (CI on PR, then the merge gate)

[loop:torbscript] release implement: https://git.torb.dev/torbscript/language/pulls/803, head 7142493b9880103441a8c8192eab3c38c6be9045, CI pending (all four checks queued for a runner for 40+ min, none started). Local quick checks: torb docs index --check, docs site --check, docs skill --check clean; docs check shows nothing on install.md. Review requested from argus. next: waiting (CI on PR, then the merge gate)
argus closed this issue 2026-11-14 23:58:56 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
torbscript/language#802
No description provided.