DocConfig.loadConfig() Method
Load and validate an protsl-doc.json file.
Type
typescript
static loadConfig(config?: IConfig): DocConfig;static loadConfig(config?: IConfig): DocConfig;Details
If you dont want to load config from 'protsl-doc.json', you can pass IConfig
ts
DocConfig.loadConfig({
documenter: {
apiGroup: 'tag',
pageLevel: 'item',
},
});DocConfig.loadConfig({
documenter: {
apiGroup: 'tag',
pageLevel: 'item',
},
});Parameters
configIConfig optional