GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — mcpx docs: choose the site generator (mdBook, MkDocs Material, Docusaurus, Starlight, Hugo) · Issue #1939 · developing-today/code

mcpx docs: choose the site generator (mdBook, MkDocs Material, Docusaurus, Starlight, Hugo) #1939

New issue
Copy link
New issue
Copy link
Closed
#2629
Closed
mcpx docs: choose the site generator (mdBook, MkDocs Material, Docusaurus, Starlight, Hugo)#1939
#2629
Copy link
Assignees
dezren39
Labels
status:in-review

Description

@dezren39
dezren39
opened on Oct 28, 2026
Issue body actions

Relocated from dezren39/darwin-nix#117 on 2026-10-28 (placement audit): mcpx's single source lives in developing-today/code (pkgs/mcpx); re-home tracked at #309. Original body below; issue references inside it are historical (dezren39/nix numbering).

Parent: #90

Summary

Pick the static site generator for the mcpx docs. The notes ask for "the most common and simple modern choice" and point at "that thing all the rust/k8s people use". That hint is ambiguous: the Rust book and most Rust project docs are mdBook, while kubernetes.io is Hugo + Docsy. This issue compares five candidates against the requirements the other docs issues place on the generator, and recommends one. The decision is small but everything else in the docs theme builds on it, so it goes first.

Original notes

  • documentation
    • make a book using whatever is the most common and simple modern choice
      • that thing all the rust/k8s people use is fine

Current state

  • No site, no generator config, no docs build. The docs are plain markdown under pkgs/mcpx/docs/ (story.md, configuration.md, protocol.md, ...) plus AGENTS.md and plugin/opencode/README.md. They render on GitHub and nowhere else.
  • Some reference output is already generated from single sources: mcpx man (roff, written by package.nix postInstall), mcpx config --schema, mcpx schema --format ..., GET /v1/openapi.json. The settings table in docs/configuration.md is hand-regenerated and guarded by internal/settings/docs_test.go. See 🎨 Palette: Improve accessibility of editor search panel #144.
  • CI: .github/workflows/mcpx.yml installs Nix and builds .#packages.x86_64-linux.mcpx; build(deps): bump build/buck/preludes/buck2-prelude from d956689 to 3cfc766 #49 generalises builds to every flake output. A docs site should be a flake output too (nix build .#mcpx-docs), so it is checked the same way.

Requirements the generator must serve

These come from sibling issues. Everything here is also possible by hand; the question is how much custom code each generator needs.

  • (a) Hierarchical, collapsible version history (🎨 Palette: Add ARIA labels and live regions to search panel #150). Raw <details>/<summary> passes through all five generators. The part that needs code is the "bubbling": computing a parent entry's latest release from its nested children and rendering it collapsed. That needs a preprocessor, hook or component.
  • (b) Generated reference pages (🎨 Palette: Improve accessibility of editor search panel #144): settings table, CLI help and man page, OpenAPI, tool types. They are produced by the mcpx binary at build time and dropped in as markdown files, or included into pages.
  • (c) An agent-markdown twin of every page (Update module github.com/jackc/pgx/v5 to v5.9.2 [SECURITY] #120): llms.txt, llms-full.txt, a raw .md next to every .html.
  • (d) A marketing-style home page (🎨 Palette: Add aria-labels to buttons and inputs #155): video, copy buttons, a random rotating prompt.
  • (e) The basics: search, dark mode, mermaid/diagrams, link checking. Versioned doc sets (v1/, v2/ copies of the whole site) are probably not needed, because 🎨 Palette: Add ARIA labels and live regions to search panel #150 puts version history inside the pages. Open question below.

Comparison

Versions were checked on 2026-09-30 against the nixpkgs pinned by this flake (nix eval --inputs-from . nixpkgs#<pkg>.version) and npm/PyPI.

mdBook Hugo + Hextra (or Docsy) MkDocs Material Docusaurus Starlight (Astro)
Who uses it Rust book, most Rust projects kubernetes.io (Docsy), many Go projects many CNCF / Python projects Meta and many JS projects Astro, a growing number of JS/TS projects
Runtime one Rust binary one Go binary (Hugo extended). Hextra needs no Node. Docsy needs Node (PostCSS) Python + plugins Node + React, large node_modules Node + Astro
Latest / in nixpkgs 0.5.4 / mdbook 0.5.4 Hugo 0.166.0 / hugo 0.166.0. The theme comes in as a Hugo module or a flake input mkdocs 1.6.1, unreleased since 2024-08-30; material 9.7.7 in nixpkgs 3.10.2 / not packaged starlight 0.42.4 on astro 7.3.5 / not packaged
Maintenance active. 0.5.0 was a breaking release for preprocessors and renderers (release notes). nixpkgs dropped mdbook-linkcheck for incompatibility with 0.5 (replaced by mdbook-linkcheck2) active, frequent releases Maintenance mode since Nov 2025: critical fixes only, EOL extended to 2027-05-05 (announcement, #8523). Its successor Zensical is at 0.0.66, pre-1.0, and does not yet support the MkDocs plugin ecosystem active active, but pre-1.0: the 0.x minors break things
Nix build (.#mcpx-docs, #49) trivial: runCommand with mdbook build trivial if the theme is vendored (flake input or hugo mod vendor). Hugo modules fetch over the network, which a sandboxed build cannot do python3.withPackages, fine for packaged plugins. Unpackaged ones (e.g. mkdocs-llmstxt, not in nixpkgs) need packaging buildNpmPackage + npmDepsHash. Every dependency bump needs a hash repair (the #49 generalisation) same as Docusaurus
(a) history bubbling preprocessor: any executable that reads [context, book] JSON on stdin and writes the book to stdout (docs). It can be written in Go, in this repo render hooks / shortcodes in Go templates. Tree logic in templates is awkward, so a pre-build step is likely anyway hooks (Python) or mkdocs-macros MDX + React component, or a remark plugin remark/rehype plugin or an Astro component
(b) generated reference {{#include file.md:anchor}} of files written before the build files in content/, or data files + templates include-markdown / snippets MDX imports, or files dropped in files dropped in, or content collections
(c) agent twin none built in. Options: third-party renderers (mdbook-llms-txt-tools, not in nixpkgs), or a preprocessor that writes .md + llms.txt, as Fluree did (fluree/db#1340) native: Hugo has a built-in markdown output format (text/markdown, docs). .md per page and llms.txt via one template each mkdocs-llmstxt 0.5.0 (not under Zensical) docusaurus-plugin-llms 0.6.0 (community) starlight-llms-txt 0.12.0 (llms.txt, -full, -small)
(d) marketing home weakest: needs a custom theme or a hand-written index.html outside the book good: Hextra ships a landing layout (hero, feature grid). Any custom layout is possible custom home.html override best: arbitrary React pages good: template: splash + hero, and custom Astro components
(e) search built in (client-side) Hextra: FlexSearch built in built in Algolia, or local plugins Pagefind built in
(e) dark mode built-in themes yes yes yes yes
(e) mermaid mdbook-mermaid (nixpkgs 0.17.1) Hextra: built in built in @docusaurus/theme-mermaid plugin
(e) versioned doc sets no manual mike native, best in class plugin (starlight-versions)
(e) link check mdbook-linkcheck2 (nixpkgs 0.13.0), or lychee (nixpkgs 0.24.2) on the output lychee on the output built-in warnings plus lychee built-in broken-link check at build time starlight-links-validator
Authoring complexity lowest: book.toml + SUMMARY.md highest: Go templates, lookup order, modules low medium: React/MDX medium: Astro/MDX

lychee works on the built HTML of any generator, so link checking does not decide anything. Docs checks run in CI; see the testing trackers under #91 (CI pipeline #95, integration/environments #97).

Approaches

Approach A (least recommended): a Node generator, Starlight or Docusaurus

This covers the most requirements out of the box: a splash home page, llms.txt plugins, Pagefind or Algolia search, and native versioning in Docusaurus.

Why not:

  • It adds a Node toolchain and a lockfile to a repository whose product is a Go binary.
  • Every npm bump changes npmDepsHash. build(deps): bump build/buck/preludes/buck2-prelude from d956689 to 3cfc766 #49 already has to automate that for the packages that need it, and this would add one more.
  • Starlight is pre-1.0 and follows Astro majors: starlight-llms-txt dropped Astro 6 to support Astro 7 (PR #127). Expect that churn to repeat.
  • None of this is "simple" in the sense the notes ask for.

MkDocs Material is excluded outright rather than listed as an approach. It is in maintenance mode with an announced end of life, MkDocs 1.x itself has had no release since August 2024, and the successor is pre-1.0 without plugin support. Starting a new site on it in 2026 would mean migrating it within a year.

Approach B (middle): Hugo + Hextra

One Go binary in nixpkgs that covers all five requirements natively. It has a built-in markdown output format for the agent twin, templates for llms.txt, a landing-page layout for the home page, built-in search and mermaid, and render hooks and shortcodes for the history.

This is the "k8s" reading of the hint, though kubernetes.io uses Docsy, not Hextra. Docsy pulls in Node for PostCSS, so it loses the single-binary advantage. Pick Hextra or another Node-free theme.

Costs:

  • Go templates are the hardest authoring model of the five. The tree logic in 🎨 Palette: Add ARIA labels and live regions to search panel #150 fits a template badly, so it would probably become a pre-build step anyway.
  • The theme has to be vendored for a sandboxed Nix build.
  • "Book" is not Hugo's native shape: navigation comes from the section structure and weights, not from one SUMMARY.md.

Choose B over C if the home page and site chrome become a larger share of the work than the book itself.

Approach C (recommended): mdBook for the book, a hand-built static home page, and generator-independent build steps

  • mdBook renders the book: the level-1 and level-2 pages, the reference and the compendium. It is literally "a book", it is the "rust" reading of the hint, it is the simplest configuration of the five, and it is a single binary already in nixpkgs.

  • The home page is one hand-written index.html plus a little JS: the video, copy buttons and a random rotating prompt (🎨 Palette: Add aria-labels to buttons and inputs #155). mdBook is weakest here, and a hybrid avoids fighting its theme. One static page is fully under our control, and its bot twin is a plain index.md (Update module github.com/jackc/pgx/v5 to v5.9.2 [SECURITY] #120).

  • Everything clever is a Go program in this repo, run as an mdBook preprocessor over stdin/stdout or as a step before or after the build:

    • the history bubbling (⚡ Bolt: Optimize ProseMirror decoration widget rendering #151);
    • the .md twin and llms.txt / llms-full.txt (Update module github.com/jackc/pgx/v5 to v5.9.2 [SECURITY] #120);
    • the reference emitters, which are mcpx itself (⚡ Bolt: Optimize cursor color generation and position grouping #145).

    None of that code depends on mdBook's internals beyond the JSON book format, so switching to Hugo later means rewriting only the glue.

  • The whole site is one flake output, nix build .#mcpx-docs, depending on .#mcpx for the generated pages (fix(deps): update github.com/charmbracelet/ssh digest to ebfa259 - autoclosed #118, build(deps): bump build/buck/preludes/buck2-prelude from d956689 to 3cfc766 #49).

Risks:

  • mdBook 0.5 already broke third-party preprocessors once. We depend only on the JSON protocol, and the flake lock pins the version, so an upgrade is a deliberate bump that CI checks.
  • There are no versioned doc sets. 🎨 Palette: Add ARIA labels and live regions to search panel #150 makes that unnecessary, but see the open questions.
  • Search covers the book, not the home page. That is acceptable for a one-page home.

Why C over B: the notes ask for simple, and a book. mdBook gives both, and the requirements it lacks natively (the twin, the home page, the history) need custom code in every generator, B included. Keeping that code in Go, next to the binary it documents, is the smaller long-term cost.

Decision to make now: C. Of the open questions below, only a "yes" to 3 (whole-site versioned doc sets) would reopen it, in favour of Docusaurus. Questions 1, 2 and 4 are answered after the pick and do not change it (1 and 2 follow #158's repository decision). #118's flake output and deploy, #120's twin emitter, #151's preprocessor hook and #155's home page all assume the answer, so this goes first. If there is doubt, the spike in the footer settles it in hours.

Open questions

  1. Does the site live in this monorepo (pkgs/mcpx/docs-site/ or similar) or move with mcpx if it ever gets its own repo (github.com/dezren39/mcpx is already the Go module path)? See fix(deps): update github.com/charmbracelet/ssh digest to ebfa259 - autoclosed #118.
  2. One generator and one site for every flake package's docs, or mcpx only? One Pages site per repo (fix(deps): update github.com/charmbracelet/ssh digest to ebfa259 - autoclosed #118) pushes towards "one site, mcpx first".
  3. Are versioned doc sets (a whole site per release) ever wanted, or does in-page history (🎨 Palette: Add ARIA labels and live regions to search panel #150) replace them? If they are wanted, Docusaurus's advantage matters and C would need a v<version>/ directory scheme.
  4. Does the home page need to share the book's CSS and theme, or can it look deliberately different?

Ease · Impact · Related

Ease S (decision; a spike building three existing pages in mdBook and Hugo would take hours) · Impact high (every docs issue builds on it) · Depends on / related: #49, #118, #120, #155, #144, #145, #150, #151

Security/auth deferred; see tracker.

Activity

Next
  1. developing-today commented on Oct 28, 2026

    @developing-today
    developing-todayBot
    on Oct 28, 2026 – with developing.today
    Contributor
    More actions

    CODE-864

  2. dezren39 commented on Oct 28, 2026

    @dezren39
    dezren39
    on Oct 28, 2026
    MemberAuthor
    More actions

    History carried over from dezren39/darwin-nix#117 (verbatim, oldest first):


    @dezren39 · 2026-09-30T07:20:14Z

    Integration pass. Placed in the DAG rooted at #181.

    • Tracker: Bump build/buck/preludes/buck2-prelude from d956689 to 222dd7f #90 (site platform)
    • Siblings under that tracker: fix(deps): update github.com/charmbracelet/ssh digest to ebfa259 - autoclosed #118 Update github.com/tursodatabase/libsql-client-go digest to 9d5d30a #119 Update module github.com/jackc/pgx/v5 to v5.9.2 [SECURITY] #120
    • Root: Phase 3: sync, blob gate, and relays #181
    • Proposed order: phase 5 -- the site, then the pages; 🎨 Palette: Improve accessibility of editor search panel #144/⚡ Bolt: Optimize cursor color generation and position grouping #145 before the manual pages

    @dezren39 · 2026-09-30T11:49:11Z

    Issues pass (2026-09-30, at 05c78b2).

    • Added a "Decision to make now: C" paragraph after Approach C, because this S decision gates fix(deps): update github.com/charmbracelet/ssh digest to ebfa259 - autoclosed #118, Update module github.com/jackc/pgx/v5 to v5.9.2 [SECURITY] #120, ⚡ Bolt: Optimize ProseMirror decoration widget rendering #151 and 🎨 Palette: Add aria-labels to buttons and inputs #155. It says that only a "yes" to open question 3 (whole-site versioned doc sets) would reopen the choice, in favour of Docusaurus, and that questions 1, 2 and 4 do not change it. Nothing else changed: the comparison and the facts in Current state still hold at 05c78b2 (no Pages site, no generator config, CI unchanged apart from the cache fix).
  3. dezren39
    added
    queue/queuedHas a queued queue task
    status/needs-triageNot yet triaged; needs a first look
    on Oct 28, 2026
  4. github-actions
    assigned
    dezren39
    on Oct 29, 2026
  5. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Oct 29, 2026
  6. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane C
    • Session / ID: queue task 2834
    • Found via: queue claim
    • Task: Triage relocated mcpx docs site-generator decision mcpx docs: choose the site generator (mdBook, MkDocs Material, Docusaurus, Starlight, Hugo) #1939 — dedupe, confirm no generator/site exists yet on current main, record the decision, enqueue the implementation follow-up. No implementation in this task.
    • Expectation: s — done looks like a triage verdict posted here and a follow-up packet enqueued.
    • Links: queue task 2834
  7. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    Triage verdict — task 2834 (2026-10-29)

    Decision confirmed: Approach C — mdBook. The issue itself records the decision ("Decision to make now: C"), with the full five-way comparison and reasons on the issue; the only condition that would reopen it (whole-site versioned doc sets, open question 3) has not been filed by anyone. This triage adopts C as settled and routes the build — it does not re-open the comparison.

    Dedupe — no competing decision, nothing built. Searched code issues for a docs site generator / mdBook choice for mcpx: no other issue covers it. Scope confirmed against current main (code search, 2026-10-29): zero hits for book.toml and zero for mcpx-docs — no generator config, no docs flake output, no site exists yet; the docs are still plain markdown under pkgs/mcpx/docs/ rendering only on GitHub, exactly as the issue describes.

    Implementation follow-up enqueued as queue task 3236, scoped to the book skeleton only:

    • mdBook config + SUMMARY.md covering the existing pkgs/mcpx/docs/ pages without rewriting their content;
    • a .#mcpx-docs flake output building the book with the flake-pinned mdbook from nixpkgs, sandboxed, checked in CI like other flake outputs;
    • existing checks keep passing, including internal/settings/docs_test.go.

    Explicitly out of that packet (sibling docs issues that assume this decision and build on the skeleton): the hand-written home page, the llms.txt/.md twin emitter, the version-history preprocessor, and site deployment. Open questions 1, 2 and 4 stay with their owning issues as the issue directs; none of them changes the generator pick.

  8. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), lane C
    • Session / ID: queue task 2834
    • Found via: queue claim
    • Task: Triage complete — Decision C (mdBook) confirmed as the issue's own recorded decision, dedupe and scope verified against current main, verdict posted above, implementation follow-up enqueued.
    • Expectation: done — follow-up is queue task 3236 (mdBook config + SUMMARY.md + .#mcpx-docs flake output).
    • Links: queue task 3236, queue task 2834
  9. dezren39
    added
    queue/queuedHas a queued queue task
    and removed
    status/in-progressQueue worker lifecycle state
    on Oct 29, 2026
  10. 57 remaining items

  11. dezren39
    added
    status/in-progressQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Oct 30, 2026
  12. dezren39 commented on Oct 30, 2026

    @dezren39
    dezren39
    on Oct 30, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane B shift
    • Session / ID: queue task 3236, lane B shift 2026-10-30 06:04 CDT
    • Found via: queue claim (resume — implementation already on PR docs(mcpx): stand up the mdBook book and .#mcpx-docs flake output (#1939) #2629)
    • Task: Verify PR docs(mcpx): stand up the mdBook book and .#mcpx-docs flake output (#1939) #2629 (mdBook skeleton + .#mcpx-docs): CI state, Codex findings; merge if green, otherwise fix or park with the exact blocker.
    • Expectation: done = PR docs(mcpx): stand up the mdBook book and .#mcpx-docs flake output (#1939) #2629 merged with checks green and Codex findings dispositioned, or task parked/blocked with a precise resume condition.
    • Links: PR docs(mcpx): stand up the mdBook book and .#mcpx-docs flake output (#1939) #2629 · branch queue/3236-1939-mcpx-mdbook
  13. dezren39
    added 3 commits that reference this issue on Oct 30, 2026

    ci: retrigger workflows on current head (#1939)

    43f24bd

    docs(mcpx): register docs/testing/feature-inventory.md in the compend…

    9ca8f80

    Merge pull request #2629 from developing-today/queue/3236-1939-mcpx-m…

    c8ee2a6
  14. dezren39
    closed this as completedin #2629on Oct 30, 2026
  15. dezren39 commented on Oct 30, 2026

    @dezren39
    dezren39
    on Oct 30, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), lane B shift
    • Session / ID: queue task 3236, lane B shift 2026-10-30 06:04 CDT
    • Found via: queue claim (resumed PR docs(mcpx): stand up the mdBook book and .#mcpx-docs flake output (#1939) #2629)
    • Task: PR docs(mcpx): stand up the mdBook book and .#mcpx-docs flake output (#1939) #2629 MERGED at 2026-10-30T11:33:09Z, merge commit c8ee2a6 — mdBook book (book.toml + SUMMARY.md, 101 chapters) and the .#mcpx-docs flake output are live on main; this issue auto-closed on merge.
    • Verification: on the laptop at the merged head — nix build .#mcpx-docs passes; settings docs tests pass (TestTheDocumentationListsEverySetting, TestTheDocumentationDescribesTheScopes, TestEveryDocumentHasAChapter — the last after registering docs/testing/feature-inventory.md, which main had merged without a manifest entry). Codex: clean at head; its one P2 was fixed in 684a133 with a thread reply. Along the way: merged current main into the branch (manifest union conflict resolved) — the branch had gone dirty as main moved.
    • Known pre-existing failures (not this PR): three internal/settings guard tests fail identically on clean main — tracked in mcpx: three internal/settings guard tests fail on main (compendium chapter + undeclared adapter env) #2697. CI also never created workflow runs for this PR's post-opening pushes (only CodeRabbit ran on later heads) — filed as CI: pushes to PR #2629 after opening created no workflow runs (synchronize events dropped) #2713; verification above was done on the laptop per the worker runbook for exactly this case.
    • Links: PR docs(mcpx): stand up the mdBook book and .#mcpx-docs flake output (#1939) #2629 · mcpx: three internal/settings guard tests fail on main (compendium chapter + undeclared adapter env) #2697 · CI: pushes to PR #2629 after opening created no workflow runs (synchronize events dropped) #2713
  16. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Oct 30, 2026
  17. dezren39 commented on Oct 30, 2026

    @dezren39
    dezren39
    on Oct 30, 2026
    MemberAuthor
    More actions

    🤖 Agent note · base-URL plumbing follow-up (from #1941 / queue task 3242)

    • Agent: repo-worker-code, Lane A shift
    • The .#mcpx-docs output landed by PR docs(mcpx): stand up the mdBook book and .#mcpx-docs flake output (#1939) #2629 does not accept a base-URL / site-url argument: pkgs/mcpx/docs.nix takes only { lib, runCommand, mdbook } and pkgs/mcpx/book.toml sets no [output.html] site-url. Per the mcpx docs: build the site in CI and deploy to GitHub Pages #1941 packet's fallback (plumb only if trivial, otherwise file back here): the Pages deploy workflow (PR for mcpx docs: build the site in CI and deploy to GitHub Pages #1941) builds .#mcpx-docs exactly as a local build does, so local and CI outputs are identical rather than differing only in the base URL.
    • The Pages site for this repo is a project site (https://developing-today.github.io/code/), so if canonical URLs / a search index ever need the /code/ base baked in, the plumbing is: add a siteUrl argument to docs.nix (writing [output.html] site-url into the copied book.toml before mdbook build), thread it through lib/default.nix:581 (mcpxDocs), and expose a CI variant output. mdBook's relative links work under /code/ without it today.
  18. dezren39 commented on Oct 30, 2026

    @dezren39
    dezren39
    on Oct 30, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    • Agent: repo-worker-code (OpenChamber scheduled lane)
    • Session / ID: task 3236, queue repo-health-code-pilot
    • Found via: queue claim resume (attempt 2/2) of PR docs(mcpx): stand up the mdBook book and .#mcpx-docs flake output (#1939) #2629
    • Task: mcpx docs — stand up the mdBook book (config, SUMMARY.md, .#mcpx-docs flake output)
    • Expectation: s — done = book builds, docs covered, settings docs guard still passes

    Outcome: PR #2629 merged at 2026-10-30T11:33:09Z (merge commit c8ee2a6), and the merge is an ancestor of current main. Verified fresh this run:

    • nix build .#mcpx-docs → /nix/store/32inal5g…-mcpx-docs, 106 rendered HTML pages; book.toml, pkgs/mcpx/docs/SUMMARY.md, pkgs/mcpx/docs.nix, and the mcpx-docs flake output in lib/default.nix are all present on main. The build is a sandboxed runCommand using the flake-pinned mdbook, no network.
    • SUMMARY.md covers the existing docs tree (story, configuration, protocol, compare/, decisions/, spec/, audit/, catalogue/) with no content rewritten.
    • internal/settings docs_test.go tests — TestTheDocumentationListsEverySetting, TestTheDocumentationDescribesTheScopes, plus TestEveryDocumentHasAChapter and TestTheEnvironmentDocIsCurrent — PASS.

    Pre-existing failures (not from this work): two unrelated internal/settings tests fail identically on a clean origin/main worktree — TestEverySettingHasAnEffectProbeOrAnExemption (missing effect probes for model.budget/default/provider/timeout, script.imports, script.importsOnDynamic) and TestTheScriptEnvironmentIsWhatTheCodeSets (MCPX_ADAPTER_DECLARATION_SHA256, MCPX_EPHEMERAL undeclared). Proven pre-existing by running them in a detached worktree of origin/main. They belong to the settings/effect-probe line, not the docs skeleton; worth their own backlog issue.

    Notes / risks: issue #1939's generator decision is now implemented, not just recorded, so the sibling docs issues (home page, llms.txt twin emitter, version-history preprocessor, deployment) are unblocked.

  19. developing-today
    added
    status:in-review
    on Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

status:in-review

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.