diff --git a/.config/typedoc.json b/.config/typedoc.json index 609bee4b7..f3c561b02 100644 --- a/.config/typedoc.json +++ b/.config/typedoc.json @@ -41,6 +41,8 @@ "Enumerations": 2.0, "Type Aliases": 2.0 }, + "searchInComments": true, + "searchInDocuments": true, "navigation": { "includeCategories": true, "includeGroups": false diff --git a/CHANGELOG.md b/CHANGELOG.md index 14372ba8e..9808c1521 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ ### Bug Fixes - The `suppressCommentWarningsInDeclarationFiles` option now correctly ignores warnings in `.d.cts` and `.d.mts` files, #2647. +- Restored re-exports in the page navigation menu, #2671. ## v0.26.5 (2024-07-21) diff --git a/src/lib/output/themes/default/DefaultTheme.tsx b/src/lib/output/themes/default/DefaultTheme.tsx index a3ab05b79..af860ba89 100644 --- a/src/lib/output/themes/default/DefaultTheme.tsx +++ b/src/lib/output/themes/default/DefaultTheme.tsx @@ -332,10 +332,6 @@ export class DefaultTheme extends Theme { }; } - if (!element.hasOwnDocument) { - return; - } - return { text: getDisplayName(element), path: element.url, diff --git a/src/lib/output/themes/default/assets/typedoc/Navigation.ts b/src/lib/output/themes/default/assets/typedoc/Navigation.ts index 0bd320e9b..5c6a4f682 100644 --- a/src/lib/output/themes/default/assets/typedoc/Navigation.ts +++ b/src/lib/output/themes/default/assets/typedoc/Navigation.ts @@ -95,7 +95,7 @@ function addNavText( if (classes) { a.className = classes; } - if (location.pathname === a.pathname) { + if (location.pathname === a.pathname && !a.href.includes("#")) { a.classList.add("current"); } if (el.kind) {