Repository navigation
feat(docs): add an offline Typst house-style package - #2015
Merged
Merged
Conversation
gerchowl
force-pushed
the
feature/1994-typst-house-style
branch
from
November 3, 2026 19:27
f3e326b to
9a3b74e
Compare
Retain package versions with content hashes, accept visible captions, and preserve labelled native tables and resolved settings. Refs: #1994
Verify vendored content and retained releases, and scope plain-table markers to their own table. Refs: #1994
Forward SIGHUP, preserve dependency symlinks, and document the release ledger snapshot limit. Refs: #1994
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Documents opting into the docs module can import
@local/devkit-docs:0.1.1offline and apply#show: devkit-document.with(...). The neutral house style supplies document layout, booktabs tables, captions, and reusable components. Branding comes through parameters. The original 0.1.0 import remains available.Type of Change
feat-- New featurefix-- Table layout, caption validation and consumer package discoverydocs-- Public API, limitations and version policytest-- Real-tool regressions and mutation checksbuild-- Offline registry and isolated document toolsModifiers
!)Changes Made
booktabs-tablefor an explicit custom inset, including the native 5 pt default. Document the limits of distinguishing explicit native defaults from omitted fields.Changelog Entry
Added
Testing
Manual Testing Details
uv run --with pytest-xdist pytest packages/vig-utils/tests/test_typst_guard.py packages/vig-utils/tests/test_typst_packages.py tests/test_typst_docs.py tests/test_typst_reconcile.py -n 4 --basetemp=$HOME/.cache/devkit-pytest/1994-r5-green— 186 passed, exit 0.nix build .#checks.x86_64-linux.typst-house-style .#checks.x86_64-linux.typst-canary .#checks.x86_64-linux.module-docs .#checks.x86_64-linux.formatting .#checks.x86_64-linux.pre-commit --max-jobs 1 --no-link -L— exit 0.Checklist
Additional Notes
Make output is preserved verbatim when a resolved package root contains CR, LF or backslash; JSON and zero are preferred for those roots. Artifact I/O failures preserve the child exit status and the native artifact, with a stderr diagnostic. Dependency stdout is buffered until child exit; ordinary stdout streams normally. The release ledger checks only a single-commit snapshot; editing it can bypass removal detection, including across commits. The append-only policy requires review. Consumer paths take precedence over devkit, then data-dir packages; same-named package precedence is tested through all tool paths.
Plot/glossary rendering, slides and content guards remain separate later phases under #1994. Figure lettering has a 7 pt minimum in the type scale; arbitrary lettering enforcement belongs to those content guards. Numeric helpers do not parse, round or align decimal separators. No merge or workflow dispatch is part of this PR.
Refs: #1994