fix(okf): one top-level heading per generated index #90

Merged
crapougnax merged 1 commit from fix/76-one-h1-per-index into develop 2026-12-02 17:25:05 +00:00
Owner

Closes #76.

The root, theme and extraction indexes had two H1 headings (# Acme then # Themes, # Guides then # Documents). They now pass the title to renderOkfIndex through its title option (Quatrain/Core#85): the title is the only H1, the sections are H2. The theme description and the provenance of an extraction stay as the preamble.

  • @quatrain/okf bumped to 1.0.8-beta.0, the first version with title. It is pinned exactly because it is a prerelease; it can go back to a ^ range once 1.0.8 is published from Core main.
  • Tests check the heading outline of the root, theme and extraction indexes. 279 tests, tsc 0.

Indexes already in a repository change on the next save of a document of their theme.

🤖 Generated with Claude Code

Closes #76. The root, theme and extraction indexes had two H1 headings (`# Acme` then `# Themes`, `# Guides` then `# Documents`). They now pass the title to `renderOkfIndex` through its `title` option (Quatrain/Core#85): the title is the only H1, the sections are H2. The theme description and the provenance of an extraction stay as the preamble. - `@quatrain/okf` bumped to `1.0.8-beta.0`, the first version with `title`. It is pinned exactly because it is a prerelease; it can go back to a `^` range once 1.0.8 is published from Core `main`. - Tests check the heading outline of the root, theme and extraction indexes. 279 tests, tsc 0. Indexes already in a repository change on the next save of a document of their theme. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix(okf): one top-level heading per generated index
All checks were successful
Build and Publish OCI Image / Build & Push ARM64 OCI Image (pull_request) Successful in 1m3s
Checks / Types, tests and build (pull_request) Successful in 1m7s
63c8d64bdb
The title of a theme, of the tenant or of an extraction is the only H1 of its
index; the Documents and Themes sections become H2. Uses the title option of
renderOkfIndex in @quatrain/okf 1.0.8-beta.0.

Closes #76

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
crapougnax merged commit 0c9025369e into develop 2026-12-02 17:25:05 +00:00
crapougnax deleted branch fix/76-one-h1-per-index 2026-12-02 17:25:05 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
modaka/studio!90
No description provided.