You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there. I am trying to create a documentation for 2 Libs inside our NX Monorepo. Here´s how I tried it:
Set typedoc.json to entryPointStrategy "packages"
Pointed the entryPoints to the respective folders "libs/store" and "libs/model"
Inside the respective package.json, I added the entry for "main" to "./src/index.ts"
Added "typedoc": { "entryPoint": "./src/index.ts", "readmeFile": "./README.md", "displayName": "XXX" } like described in the docs to the libs package.jsons
When I try to create the doc, I only receive the error
Error: Entry point "C:\XXX\libs\model\src\index.ts" does not appear to be built by the tsconfig found at "C:/XXX/libs/model/tsconfig.json"
Has anyone an idea what I am missing?
The text was updated successfully, but these errors were encountered:
That error means that libs/model/tsconfig.json specifies the include (or files) option such that the libs/model/src/index.ts file is not included in the program. If the file is included, this is probably a bug and I'll need a reproduction to try to fix it.
Okay, after I added "srx/index.ts" to the "include" of the respective tsconfig.json´s it is creating the documentation.
However, now I am facing a different problem. I receive the "Warning"
Warning: ModalDTO, defined at libs/model/src/lib/DTO/modal-dto.ts:47, is referenced by @deichmann/store.selectActiveModal but not included in the documentation. and if i check the generated documentation of the entry 'selectActiveModal' (located in 'libs/store') there is no link to the entry of 'ModalDTO' (located in 'libs/model')
Search terms
NX, NRWL, Libraries, Monorepo
Question
Hi there. I am trying to create a documentation for 2 Libs inside our NX Monorepo. Here´s how I tried it:
"typedoc": { "entryPoint": "./src/index.ts", "readmeFile": "./README.md", "displayName": "XXX" }
like described in the docs to the libs package.jsonsWhen I try to create the doc, I only receive the error
Error: Entry point "C:\XXX\libs\model\src\index.ts" does not appear to be built by the tsconfig found at "C:/XXX/libs/model/tsconfig.json"
Has anyone an idea what I am missing?
The text was updated successfully, but these errors were encountered: