TypeDoc configuration for ApiTree projects.
npm install @apitree.cz/typedoc-config``bash`
pnpm add --save-dev @apitree.cz/typedoc-config typedoc typescript
In a monorepo, install the package in the root, then create configs in each workspace.
Add the following configuration to your typedoc.config.js:
`javascript`
export { config as default } from '@apitree.cz/typedoc-config';
The default configuration picks ./src/index.ts in your package as the documentation entry point, however, you canentryPoints
change this by overriding the property in your typedoc.config.js:
`javascript
import { config } from '@apitree.cz/typedoc-config';
export default {
...config,
entryPoints: ['./src/module-a/index.ts', './src/module-b/index.ts'],
};
``
> See Options documentation for config reference.