Skip to content

Serve the comline.toml JSON Schema - #107

Merged
Kinflou merged 1 commit into
mainfrom
docs/comline-toml-schema
Oct 31, 2026
Merged

Kinflou merged 1 commit into
mainfrom
docs/comline-toml-schema

Conversation

@Kinflou

@Kinflou Kinflou commented Oct 31, 2026

Copy link
Copy Markdown
Member

Serves generation's schemas/comline-toml.json (generation#92) at /schemas/comline-toml/0.x.json, the URL comline new writes into comline.toml as a #:schema line (cli#109).

  • docs/docs/schemas/comline-toml/0.x.json: a copy of the file; verified with zensical build --strict that it lands at site/schemas/comline-toml/0.x.json, byte-identical.
  • scripts/sync-comline-toml-schema.py plus the Schema drift workflow: compares the copy with generation's default branch (weekly, per-PR, manual); on a difference it fails and prints python3 scripts/sync-comline-toml-schema.py --write.
  • comline.toml reference: a short Editor support section (the #:schema line, Even Better TOML / Taplo, the VS Code extension).

…tion's

comline new writes a #:schema line pointing at /schemas/comline-toml/0.x.json. The file is a copy of generation's schemas/comline-toml.json; a weekly and per-PR drift check fails when they differ and prints the command to refresh it. The comline.toml reference gains an Editor support section.
@Kinflou
Kinflou merged commit 3c4912a into main Oct 31, 2026
3 checks passed
@Kinflou
Kinflou deleted the docs/comline-toml-schema branch October 31, 2026 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant