When I tried to read about the an already written Angular app, I felt difficult to know all components, services, directives.
The idea of generating a documentation for angular app came in mind and voila, there are already some products which generate Angular app documentation for a product. The product I used is called compodoc.
To install compodoc, simply run
npm install --save-dev @compodoc/compodoc
Then update your package.json
"scripts": {
"compodoc": "compodoc -p tsconfig.json"
}
Then you can run compodoc as a normal npm script using
npm run compodoc
No comments:
Post a Comment