Skip to content

Commit 97d0620

Browse files
authored
Merge pull request #2732 from mrfigg/master
Fixed missing breadcrumbs on project page, #2728
2 parents 7cb5f50 + 5d702f0 commit 97d0620

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
- `externalSymbolLinkMappings` now uses the TypeScript reported link target if available, #2725.
66
- TypeDoc will no longer omit the modules page if a project contains only modules/documents, #2730.
7+
- Fixed missing breadcrumbs on project page, #2728.
78

89
## v0.26.8 (2024-10-04)
910

src/lib/output/themes/default/partials/header.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ export const header = (context: DefaultThemeRenderContext, props: PageEvent<Refl
88
const HeadingLevel = props.model.isProject() ? "h2" : "h1";
99
return (
1010
<div class="tsd-page-title">
11-
{!!props.model.parent && <ul class="tsd-breadcrumb">{context.breadcrumb(props.model)}</ul>}
11+
{props.url !== "index.html" && props.url !== "hierarchy.html" && (
12+
<ul class="tsd-breadcrumb">{context.breadcrumb(props.model)}</ul>
13+
)}
1214
{!props.model.isDocument() && (
1315
<HeadingLevel class={classNames({ deprecated: props.model.isDeprecated() })}>
1416
{props.model.kind !== ReflectionKind.Project &&

0 commit comments

Comments
 (0)