fix: one top-level heading per generated index #76

Closed
opened 2026-11-29 18:12:30 +00:00 by crapougnax · 1 comment
Owner

Root and theme indexes are generated with two H1 headings (# Tenant E2E then # Themes; # Agroforesterie then # Documents), also in extraction bundles.

Expected: the title is the only H1; the groups are H2, as in the OKF knowledge base (# Category Index then ## Documents). Renderers and agents take the H1 as the title of the file, and the heading outline matters for accessibility.

Root and theme indexes are generated with two H1 headings (`# Tenant E2E` then `# Themes`; `# Agroforesterie` then `# Documents`), also in extraction bundles. **Expected**: the title is the only H1; the groups are H2, as in the OKF knowledge base (`# Category Index` then `## Documents`). Renderers and agents take the H1 as the title of the file, and the heading outline matters for accessibility.
Author
Owner

The headings come from renderOkfIndex of @quatrain/okf, which writes every section as H1. Fixed in Core: Quatrain/Core#85 adds an option title (only H1, sections H2). The Studio part (pass title, bump @quatrain/okf) follows once it is published.

The headings come from `renderOkfIndex` of `@quatrain/okf`, which writes every section as H1. Fixed in Core: Quatrain/Core#85 adds an option `title` (only H1, sections H2). The Studio part (pass `title`, bump `@quatrain/okf`) follows once it is published.
Sign in to join this conversation.
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#76
No description provided.