repo-tools: skip doc generation for non-index entrypoints

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-02-04 15:44:09 +01:00
parent a117491a92
commit cab2437a0b
@@ -424,7 +424,9 @@ export async function runApiExtraction({
},
docModel: {
enabled: true,
// TODO(Rugvip): This skips docs for non-index entry points. We can try to work around it, but
// most likely it makes sense to wait for API Extractor to natively support exports.
enabled: name === 'index',
apiJsonFilePath: resolvePath(
outputDir,
`${prefix}<unscopedPackageName>.api.json`,