You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Typst docs guards: follow-ups from the #2005 review (recipe-name clash, indent test coverage, lint claim, preview gaps) #2011
Follow-ups from the reviews of #2005 (#1994 phase 1a). None blocked the merge.
Recipe-name clash breaks every just command. A consumer with its own typst, typst-canonical or typst-probe recipe who turns docs ON gets just --list rc=1 (recipe redefined in justfile.devkit-docs). The installer exits 0 and later blames a syntax error. Load the recipes as a just module (mod docs 'justfile.devkit-docs'), or detect the clash, skip the import and print a notice. Fix this before the first adopter.
Indent coverage. Four mutants of rendered_hooks survive because every test layout except one contains a repo: local. Add remote-only layouts with 4-space, 3-space and mixed-step indentation to LAYOUTS.
Lint claim. docs/NIX.md's "no new yamllint findings" is too strong for configs that already had findings, such as the pre-commit sample-config layout and indentless hook lists. Narrow the claim to configs that were clean, or match the consumer's dash spacing.
--preview gaps. It misses removing a stale marker block when docs is OFF and the justfile is already gone. It shows - for a consumer-owned justfile.devkit-docs that the real run keeps.
Unhelpful error. A hook restored without its managed exclude: fails with a bare KeyError: 'exclude'. Give it advice text.
Crash safety.publish() writes in place, but catches only Exception. A KeyboardInterrupt during the write can leave a truncated file, and the backup is deleted. Restore from the backup on BaseException.
Deleted repo entry. The docs block sits inside the consumer's first local repo. Deleting that repo entry silently deletes the block and leaves the patched excludes behind. Detect this and report it.
Activity
test(docs): cover Typst guard review regressions
fix(docs): harden Typst module reconciliation
test(docs): cover namespace collisions and exact rendering
fix(docs): reserve the document namespace and guard collisions
docs: qualify the document module glossary command
fix(docs): harden Typst guard reconciliation (#2012)
fix(release): restore changelog when abandoning a release (#2024)
chore: release 1.19.0 (#2033)