Express JS, Node JS, Blank Documentation
I'm trying to document my Express JS API using TypeDoc, but I get a rather empty documentation generated.
This is my tsconfig.json:
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"moduleResolution": "node",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true
},
"typedocOptions": {
"entryPoints": ["server.ts"],
"out": "docs"
}
}
What am I doing wrong? All materials on the web point to adding the TypeDoc option {"mode": "modules}
. But that's been deprecated. I would appreciate any guidance.
I exported my Express app instance in my server.ts and tweaked my typedoc.json
. This way, I was able to get half-decent documentation.
{
"entryPoints": ["server.ts", "src/**/*.ts"],
"out": "docs",
"entryPointStrategy": "expand",
"plugin": ["typedoc-theme-hierarchy"],
"theme": "hierarchy",
"name": "My Awesome API",
"includeVersion": true,
"exclude": ["**/node_modules/**/*.*", "**/dist/**/*.*"],
"excludeExternals": true,
"readme": "./README.md"
}
Owner Name | TypeStrong |
Repo Name | typedoc |
Full Name | TypeStrong/typedoc |
Language | TypeScript |
Created Date | 2014-05-24 |
Updated Date | 2023-03-19 |
Star Count | 6487 |
Watcher Count | 68 |
Fork Count | 639 |
Issue Count | 48 |
Issue Title | Created Date | Updated Date |
---|