File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
src/lib/output/themes/default Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 33### Bug Fixes
44
55- ` externalSymbolLinkMappings ` now uses the TypeScript reported link target if available, #2725 .
6+ - TypeDoc will no longer omit the modules page if a project contains only modules/documents, #2730 .
67
78## v0.26.8 (2024-10-04)
89
Original file line number Diff line number Diff line change @@ -208,11 +208,6 @@ export class DefaultTheme extends Theme {
208208 if ( ! hasReadme ( this . application . options . getValue ( "readme" ) ) ) {
209209 project . url = "index.html" ;
210210 urls . push ( new UrlMapping < ContainerReflection > ( "index.html" , project , this . reflectionTemplate ) ) ;
211- } else if ( project . children ?. every ( ( child ) => child . kindOf ( ReflectionKind . Module ) ) ) {
212- // If there are no non-module children, then there's no point in having a modules page since there
213- // will be nothing on it besides the navigation, so redirect the module page to the readme page
214- project . url = "index.html" ;
215- urls . push ( new UrlMapping ( "index.html" , project , this . indexTemplate ) ) ;
216211 } else {
217212 project . url = "modules.html" ;
218213 urls . push ( new UrlMapping ( "modules.html" , project , this . reflectionTemplate ) ) ;
You can’t perform that action at this time.
0 commit comments