Apply typedoc-github-theme typography fixes locally via customCss

Backport the `.tsd-typography` CSS fixes from upstream PR
JulianWowra/typedoc-github-theme#7 so document pages render with
GitHub-accurate heading spacing, list bullets, line-height, and code
block overflow. The override file and `customCss` config can be removed
once the PR is merged and the dependency is updated.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jonathan Hefner 2026-02-09 11:15:30 -06:00
commit faabb6d1af
No known key found for this signature in database
GPG key ID: 0DA40AFD21043691

View file

@ -46,6 +46,9 @@ const config = {
"./scripts/typedoc-plugin-fix-mermaid-entities.mjs",
"@boneskull/typedoc-plugin-mermaid",
],
// Remove once typedoc-github-theme merges upstream fix:
// https://github.com/JulianWowra/typedoc-github-theme/pull/7
customCss: "./scripts/typedoc-github-theme-fixes.css",
ignoredHighlightLanguages: ["mermaid"],
};