twittwer / nx-tools

Workspace for Nx Plugins.
40 stars 7 forks source link

Is there a way to just document the libraries? #49

Closed seanlawrenz closed 2 years ago

seanlawrenz commented 3 years ago

I have a large nx project. I only want the libraries to be documented since the other projects are playgrounds.

Any way to do that?

twittwer commented 3 years ago

Do you want to document each lib independently or use the workspace docs but filter out apps?
The first one is no problem, just run nx g @twittwer/compodoc:config <project> on each project.
The second one can currently only achieved by a manual adjustment in the tsconfig.compodoc.json (just remove the apps entry in the includes array).

twittwer commented 2 years ago

I assume the answer solved your issue 🙂