File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 44
55- The page navigation sidebar no longer incorrectly includes re-exports if the same member is exported with multiple names #2625 .
66- Page navigation now ensures the current page is visible when the page is first loaded, #2626 .
7+ - If a relative linked image is referenced multiple times, TypeDoc will no longer sometimes produce invalid links to the image #2627 .
78- Comments on re-exports are now rendered.
89
910### Thanks!
Original file line number Diff line number Diff line change @@ -61,6 +61,10 @@ export class FileRegistry {
6161 const absolute = this . mediaToPath . get ( id ) ;
6262 if ( ! absolute ) return ;
6363
64+ if ( this . names . has ( id ) ) {
65+ return this . names . get ( id ) ;
66+ }
67+
6468 const file = basename ( absolute ) ;
6569 if ( ! this . nameUsage . has ( file ) ) {
6670 this . nameUsage . set ( file , 1 ) ;
Original file line number Diff line number Diff line change @@ -1509,6 +1509,7 @@ describe("Comment Parser", () => {
15091509 ] satisfies CommentDisplayPart [ ] ) ;
15101510
15111511 equal ( files . getName ( 1 ) , "&a.png" ) ;
1512+ equal ( files . getName ( 1 ) , "&a.png" ) ;
15121513 } ) ;
15131514} ) ;
15141515
You can’t perform that action at this time.
0 commit comments