Skip to content

feat(modules): add docs capability module with typst toolchain - #1179

Merged
c-vigo merged 4 commits into
devfrom
feature/1178-docs-module
Jul 17, 2026
Merged

c-vigo merged 4 commits into
devfrom
feature/1178-docs-module

Conversation

@c-vigo

@c-vigo c-vigo commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Closes #1178.

Adds the docs capability module (nix/modules/docs.nix): document-oriented consumers opt in with mkProjectShell { modules = [ "docs" ]; } and get typst + typstyle on the dev-shell PATH. First consumer: exo-pet/vault (direnv-only deployment in the current wave); qms and EXOMA presentation/grant repos share the profile — the ADR's ask-gate is met.

  • v1 contract per ADR-capability-modules: packages only, no version knob — nixpkgs ships a single typst per pin, so the module tracks the toolchain pin (typst output isn't version-stable; a consumer's generated/ artifacts regenerate once at migration).
  • Deliberate v1 exclusions documented in docs/NIX.md and the module header: pandoc/LaTeX (ask-gated), headless drawio/excalidraw export (electron-shaped, repo-owned), Python doc libs (pymupdf4llm/openpyxl → consumer pyproject.toml via uv).
  • Registered in nix/modules/default.nix; geant4/rust/fortran/root stay deferred.

Verification

@c-vigo
c-vigo marked this pull request as ready for review July 17, 2026 11:57
@c-vigo
c-vigo merged commit de597c7 into dev Jul 17, 2026
15 checks passed
@c-vigo
c-vigo deleted the feature/1178-docs-module branch July 17, 2026 11:57
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