Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion scripts/lib/docs-generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,16 @@ export async function generateDocsForTag(
expandObjects: true,
hideBreadcrumbs: true,
hidePageHeader: false,
hidePageTitle: false,
// The page template emits `# <symbol>` as the body's first line, and
// Fumadocs renders `page.data.title` as an <h1> above it — the same string
// twice, so every generated page shipped two H1s. Suppressing TypeDoc's
// copy leaves Fumadocs' as the only one; the text is identical, so nothing
// changes visually.
//
// This is `hidePageTitle`, not the `hidePageHeader` above it: the heading
// in typedoc-plugin-markdown's `reflection.template.js` is gated on the
// former. `hidePageHeader` controls the breadcrumb/navigation block.
hidePageTitle: true,
parametersFormat: "list",
expandParameters: false,
useHTMLEncodedBrackets: true,
Expand Down