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 4
4
5
5
- The page navigation sidebar no longer incorrectly includes re-exports if the same member is exported with multiple names #2625.
6
6
- 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.
7
8
- Comments on re-exports are now rendered.
8
9
9
10
### Thanks!
Original file line number Diff line number Diff line change @@ -61,6 +61,10 @@ export class FileRegistry {
61
61
const absolute = this.mediaToPath.get(id);
62
62
if (!absolute) return;
63
63
64
+ if (this.names.has(id)) {
65
+ return this.names.get(id);
66
+ }
67
+
64
68
const file = basename(absolute);
65
69
if (!this.nameUsage.has(file)) {
66
70
this.nameUsage.set(file, 1);
Original file line number Diff line number Diff line change @@ -1509,6 +1509,7 @@ describe("Comment Parser", () => {
1509
1509
] satisfies CommentDisplayPart[]);
1510
1510
1511
1511
equal(files.getName(1), "&a.png");
1512
+ equal(files.getName(1), "&a.png");
1512
1513
});
1513
1514
});
1514
1515
You can’t perform that action at this time.
0 commit comments