File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import { IConfigFile } from '../documenters/IConfigFile';
1212import { ApiModel } from '@microsoft/api-extractor-model' ;
1313import { FileSystem } from '@microsoft/node-core-library' ;
1414import { MarkdownDocumenter } from '../documenters/MarkdownDocumenter' ;
15- import { PluginContext } from '../plugin/PluginContext ' ;
15+ import { PluginLoader } from '../plugin/PluginLoader ' ;
1616
1717export class GenerateAction extends BaseAction {
1818 constructor ( parser : ApiDocumenterCommandLine ) {
@@ -40,8 +40,8 @@ export class GenerateAction extends BaseAction {
4040
4141 const configFile : IConfigFile = DocumenterConfig . loadFile ( configFilePath ) ;
4242
43- const pluginContext : PluginContext = new PluginContext ( ) ;
44- pluginContext . load ( configFile . plugins || [ ] , configFilePath ) ;
43+ const pluginLoader : PluginLoader = new PluginLoader ( ) ;
44+ pluginLoader . load ( configFile . plugins || [ ] , configFilePath ) ;
4545
4646 const apiModel : ApiModel = this . buildApiModel ( ) ;
4747
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ interface ILoadedPlugin {
1414 manifest : IApiDocumenterPluginManifest ;
1515}
1616
17- export class PluginContext {
17+ export class PluginLoader {
1818 public markdownDocumenterFeature : MarkdownDocumenterFeature | undefined ;
1919
2020 public load ( configPlugins : IConfigPlugin [ ] , configFilePath : string ) : void {
You can’t perform that action at this time.
0 commit comments