Compodoc Integration in Angular App

  1. Just go to your Angular application and type the following in your console.
npm install -g @compodoc/compodoc
{
"include": ["src/**/*.ts"],
"exclude": ["src/test.ts", "src/**/*.spec.ts", "src/app/file-to-exclude.ts"]
}
"scripts": {
"compodoc:build-and-serve": "compodoc -p tsconfig.doc.json -s --hideGenerator -o",
}
Sample application compodoc documentation.
chart view of the documentation.
code view of the documentation.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store