typedoc-plugin-external-module-map
Version:
Specify the Typedoc Module of a file using a regular expression on the filename
19 lines • 619 B
JavaScript
import { Application, ParameterType, PageEvent, RendererEvent } from 'typedoc';
import { ExternalModuleMapPlugin } from './plugin.js';
const TYPEDOC_VERSION = Application.VERSION;
export const pluginOptions = (app) => ({
options: () => {
return {
externalModuleMap: app.options.getValue('external-modulemap')
};
},
});
export function load(app) {
app.options.addDeclaration({
name: 'external-modulemap',
help: 'Inline rewrite map',
type: ParameterType.Mixed,
});
(new ExternalModuleMapPlugin()).initialize(app);
}
//# sourceMappingURL=index.js.map