Skip to content

Documentation site

ELMOS’s documentation is published on the project site, haven-docs (Astro Starlight). Its scripts/sync.mjs copies README.md (the ELMOS index), docs/user (the guide) and docs/developer (this section) at build time and generates the CLI reference with elmos gendocs. The repositories stay the source of their pages; there is no second site.

Retiring MkDocs (design and expectations, 2026-11-13)

Section titled “Retiring MkDocs (design and expectations, 2026-11-13)”

Owner-approved 2026-11-11 (positioning note, item 5: “once the Taskfile no longer needs it”). Written before the change.

Today. mkdocs.yml and docs/index.md (its home page) are used only by the Taskfile tasks docs, docs:install, docs:clean and docs:serve (MkDocs Material, mkdocstrings, mkdocs_puml, installed with pip). No workflow builds them (the Pages workflow was removed earlier) and the site_url in mkdocs.yml, elmos.vercel.app, answers HTTP 404.

Change.

  • Remove mkdocs.yml, docs/index.md and the four tasks.
  • New tasks docs and docs:serve build or serve haven-docs from a checkout next to this one (../haven-docs, with ../haven and ../kdal), which is how haven-docs expects a local workspace.

What readers lose. Rendered PlantUML: the puml blocks of Architecture Diagrams and docs/diagrams/*.puml stay as source (Starlight shows them as code); and the local MkDocs Material preview. Nothing that is published: no MkDocs site is online.

Check Expected
D1: references after the change, git grep -i mkdocs matches only this page
D2: tasks task --list shows docs and docs:serve (new descriptions); docs:install and docs:clean are gone
D3: the remaining build haven-docs, copied outside the owner’s checkout and pointed at this repository with SRC_ROOT: sync.mjs and astro build succeed and every page of docs/user and docs/developer is in the built site; its link check passes
D4: ELMOS CI green

Design merged first (pull request 17, 20e80c5); the change after it (pull request 18, merged as 9e07802). D3 used a copy of haven-docs at aa7db1b outside the owner’s checkout, with SRC_ROOT pointing at this repository, HAVEN and KDAL.

Check Observed Verdict
D1 git grep -i mkdocs matches this page and one line of CHANGELOG.md (the entry that records the removal, added in the same change) not as expected: the expectation forgot the changelog entry; no code or configuration refers to MkDocs
D2 task --list: docs “Build the project site (../haven-docs) with this checkout’s docs”, docs:serve “Serve the project site …”; no docs:install, no docs:clean as expected
D3 sync.mjs: 60 pages copied; astro build: 143 pages; link check: 0 broken internal links; all 27 pages of docs/user and docs/developer (with api/) built; the diagrams page shows the PlantUML source as code as expected
D4 ELMOS CI green on pull request 18 (Linux, macOS, Windows, e2fsck) as expected

Three of four checks hold; D1 is a prediction error in the check’s wording, not in the change.

The PlantUML diagrams listed under “What readers lose” are replaced: the diagrams page is Mermaid now, which GitHub and the site both draw, and docs/diagrams/*.puml (the same five diagrams) is removed. The diagrams were redrawn from the code; docs/developer/diagrams_test.go checks the component diagram against the packages and their imports.