With these two scripts it's possible to generate a compodoc site from an @nrwl/nx monorepo for each library and generate a root index.html
that serves as a minimal menu.
All scripts must be in ./tools/scripts
otherwise you should alter all hardcoded path's to your needs.
ROOT_PATH
const angularJson = require('../../angular.json');
Generated source code will be copied to dist/documentation
node ./tools/scripts/generate-documentation.ts
node ./tools/scripts/generate-documentation-root.ts
With this scripts it's also possible to generate gitlab/github/what-ever pages.
A Gitlab CI pipeline is prepared.
Yes in fact each compodoc site have all off compodoc's js and css. I'm not aware of an alternative solution yet.