File tree 12 files changed +69
-29
lines changed
12 files changed +69
-29
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ title: Changelog
7
7
### Bug Fixes
8
8
9
9
- ` @inline ` now functions when referencing tuple types, #2932 .
10
+ - ` @link ` links to the current page are now rendered, #2934 .
10
11
11
12
## v0.28.2 (2025-04-07)
12
13
Original file line number Diff line number Diff line change @@ -195,6 +195,12 @@ export class MarkedPlugin extends ContextAwareRendererComponent {
195
195
) ;
196
196
}
197
197
}
198
+
199
+ // If the url goes to this page, render as `#`
200
+ // to go to the top of the page.
201
+ if ( url == "" ) {
202
+ url = "#" ;
203
+ }
198
204
}
199
205
200
206
if ( useHtml ) {
Original file line number Diff line number Diff line change @@ -68,6 +68,9 @@ export class ModifiersClass {
68
68
readonly read = 4 ;
69
69
/** @deprecated */
70
70
dep = 5 ;
71
+
72
+ /** #2934 same page link {@linkcode ModifiersClass} */
73
+ constructor ( ) { }
71
74
}
72
75
73
76
/**
Original file line number Diff line number Diff line change 15
15
"sourceLinkTemplate" : " {path}" ,
16
16
"excludeExternals" : true ,
17
17
"tsconfig" : " tsconfig.json" ,
18
- "validation" : true ,
18
+ "validation" : {
19
+ "invalidLink" : true ,
20
+ "notDocumented" : false ,
21
+ "notExported" : true ,
22
+ "rewrittenLink" : true ,
23
+ "unusedMergeModuleWith" : true
24
+ },
19
25
"skipErrorChecking" : true ,
20
26
"externalSymbolLinkMappings" : {
21
27
// used by {@link !Promise }
Original file line number Diff line number Diff line change 202
202
]
203
203
},
204
204
{
205
- "div.tsd-description" : {
206
- "h4.tsd-returns-title" : [
207
- " Returns " ,
208
- {
209
- "tag" : " a.tsd-signature-type.tsd-kind-class" ,
210
- "props" : {
211
- "href" : " "
212
- },
213
- "children" : " ModifiersClass"
205
+ "div.tsd-description" : [
206
+ {
207
+ "div.tsd-comment.tsd-typography" : " <p>#2934 same page link <a href=\" #\" class=\" tsd-kind-class\" ><code>ModifiersClass</code></a></p>\n "
208
+ },
209
+ {
210
+ "h4.tsd-returns-title" : [
211
+ " Returns " ,
212
+ {
213
+ "tag" : " a.tsd-signature-type.tsd-kind-class" ,
214
+ "props" : {
215
+ "href" : " "
216
+ },
217
+ "children" : " ModifiersClass"
218
+ }
219
+ ]
220
+ },
221
+ {
222
+ "div.tsd-comment.tsd-typography" : []
223
+ },
224
+ {
225
+ "aside.tsd-sources" : {
226
+ "ul" : {
227
+ "li" : [
228
+ " Defined in " ,
229
+ {
230
+ "tag" : " a" ,
231
+ "props" : {
232
+ "href" : " index.ts"
233
+ },
234
+ "children" : " index.ts:73"
235
+ }
236
+ ]
237
+ }
214
238
}
215
- ]
216
- }
239
+ }
240
+ ]
217
241
}
218
242
]
219
243
}
Original file line number Diff line number Diff line change 61
61
"props" : {
62
62
"href" : " index.ts"
63
63
},
64
- "children" : " index.ts:77 "
64
+ "children" : " index.ts:80 "
65
65
}
66
66
]
67
67
}
180
180
"props" : {
181
181
"href" : " index.ts"
182
182
},
183
- "children" : " index.ts:79 "
183
+ "children" : " index.ts:82 "
184
184
}
185
185
]
186
186
}
234
234
"props" : {
235
235
"href" : " index.ts"
236
236
},
237
- "children" : " index.ts:81 "
237
+ "children" : " index.ts:84 "
238
238
}
239
239
]
240
240
}
Original file line number Diff line number Diff line change 197
197
"props" : {
198
198
"href" : " index.ts"
199
199
},
200
- "children" : " index.ts:110 "
200
+ "children" : " index.ts:113 "
201
201
}
202
202
]
203
203
}
Original file line number Diff line number Diff line change 101
101
"props" : {
102
102
"href" : " index.ts"
103
103
},
104
- "children" : " index.ts:129 "
104
+ "children" : " index.ts:132 "
105
105
}
106
106
]
107
107
}
194
194
"props" : {
195
195
"href" : " index.ts"
196
196
},
197
- "children" : " index.ts:130 "
197
+ "children" : " index.ts:133 "
198
198
}
199
199
]
200
200
}
265
265
"props" : {
266
266
"href" : " index.ts"
267
267
},
268
- "children" : " index.ts:131 "
268
+ "children" : " index.ts:134 "
269
269
}
270
270
]
271
271
}
Original file line number Diff line number Diff line change 119
119
"props" : {
120
120
"href" : " index.ts"
121
121
},
122
- "children" : " index.ts:114 "
122
+ "children" : " index.ts:117 "
123
123
}
124
124
]
125
125
}
248
248
"props" : {
249
249
"href" : " index.ts"
250
250
},
251
- "children" : " index.ts:119 "
251
+ "children" : " index.ts:122 "
252
252
}
253
253
]
254
254
}
316
316
"props" : {
317
317
"href" : " index.ts"
318
318
},
319
- "children" : " index.ts:116 "
319
+ "children" : " index.ts:119 "
320
320
}
321
321
]
322
322
}
383
383
"props" : {
384
384
"href" : " index.ts"
385
385
},
386
- "children" : " index.ts:117 "
386
+ "children" : " index.ts:120 "
387
387
}
388
388
]
389
389
}
Original file line number Diff line number Diff line change 98
98
"props" : {
99
99
"href" : " index.ts"
100
100
},
101
- "children" : " index.ts:122 "
101
+ "children" : " index.ts:125 "
102
102
}
103
103
]
104
104
}
206
206
"props" : {
207
207
"href" : " index.ts"
208
208
},
209
- "children" : " index.ts:124 "
209
+ "children" : " index.ts:127 "
210
210
}
211
211
]
212
212
}
271
271
"props" : {
272
272
"href" : " index.ts"
273
273
},
274
- "children" : " index.ts:125 "
274
+ "children" : " index.ts:128 "
275
275
}
276
276
]
277
277
}
Original file line number Diff line number Diff line change 181
181
"props" : {
182
182
"href" : " index.ts"
183
183
},
184
- "children" : " index.ts:85 "
184
+ "children" : " index.ts:88 "
185
185
}
186
186
]
187
187
}
491
491
"props" : {
492
492
"href" : " index.ts"
493
493
},
494
- "children" : " index.ts:86 "
494
+ "children" : " index.ts:89 "
495
495
}
496
496
]
497
497
}
Original file line number Diff line number Diff line change 88
88
"props" : {
89
89
"href" : " index.ts"
90
90
},
91
- "children" : " index.ts:99 "
91
+ "children" : " index.ts:102 "
92
92
}
93
93
]
94
94
}
You can’t perform that action at this time.
0 commit comments