File tree Expand file tree Collapse file tree 2 files changed +1
-23
lines changed Expand file tree Collapse file tree 2 files changed +1
-23
lines changed Original file line number Diff line number Diff line change @@ -113,10 +113,6 @@ export class Renderer extends ChildableComponent<
113
113
[ "default" , DefaultTheme ] ,
114
114
] ) ;
115
115
116
- private unknownSymbolResolvers : Array <
117
- ( ref : DeclarationReference ) => string | undefined
118
- > = [ ] ;
119
-
120
116
/** @event */
121
117
static readonly EVENT_BEGIN_PAGE = PageEvent . BEGIN ;
122
118
/** @event */
@@ -209,21 +205,6 @@ export class Renderer extends ChildableComponent<
209
205
} ) ;
210
206
}
211
207
212
- /**
213
- * Marked as internal for now. Using this requires the internal `getSymbol()` method on ReferenceType.
214
- * Someday that needs to be fixed so that this can be made public. ReferenceTypes really shouldn't store
215
- * symbols so that we don't need to keep the program around forever.
216
- *
217
- * Remove in 0.24.
218
- * @internal
219
- */
220
- attemptExternalResolution ( ref : DeclarationReference ) : string | undefined {
221
- for ( const resolver of this . unknownSymbolResolvers ) {
222
- const resolved = resolver ( ref ) ;
223
- if ( resolved ) return resolved ;
224
- }
225
- }
226
-
227
208
/**
228
209
* Render the given project reflection to the specified output directory.
229
210
*
@@ -392,4 +373,3 @@ export class Renderer extends ChildableComponent<
392
373
// HACK: THIS HAS TO STAY DOWN HERE
393
374
// if you try to move it up to the top of the file, then you'll run into stuff being used before it has been defined.
394
375
import "./plugins" ;
395
- import type { DeclarationReference } from "../converter/comments/declarationReference" ;
Original file line number Diff line number Diff line change @@ -80,9 +80,7 @@ export class DefaultThemeRenderContext {
80
80
* Will be removed in 0.24.
81
81
*/
82
82
attemptExternalResolution = ( type : NeverIfInternal < ReferenceType > ) => {
83
- return this . theme . owner . attemptExternalResolution (
84
- ( type as ReferenceType ) . toDeclarationReference ( )
85
- ) ;
83
+ return ( type as ReferenceType ) . externalUrl ;
86
84
} ;
87
85
88
86
reflectionTemplate = bind ( reflectionTemplate , this ) ;
You can’t perform that action at this time.
0 commit comments