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 3
3
### Bug Fixes
4
4
5
5
- ` 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 .
6
7
7
8
## v0.26.8 (2024-10-04)
8
9
Original file line number Diff line number Diff line change @@ -208,11 +208,6 @@ export class DefaultTheme extends Theme {
208
208
if ( ! hasReadme ( this . application . options . getValue ( "readme" ) ) ) {
209
209
project . url = "index.html" ;
210
210
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 ) ) ;
216
211
} else {
217
212
project . url = "modules.html" ;
218
213
urls . push ( new UrlMapping ( "modules.html" , project , this . reflectionTemplate ) ) ;
You can’t perform that action at this time.
0 commit comments