Skip to content

Commit

Permalink
fix: check monorepo root for docs (#1365)
Browse files Browse the repository at this point in the history
When building docs for monorepos, the typedoc manifest key is no
longer used so just check for docs in the root.
  • Loading branch information
achingbrain authored Sep 5, 2023
1 parent 59fa5fd commit 439a646
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/check-project/readme/api-docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
* @param {*} [parentManifest]
*/
export const APIDOCS = (pkg, parentManifest) => {
// monorepo project - test for typedoc entry point
if (parentManifest != null && pkg.typedoc?.entryPoint == null) {
return ''
}

// test for docs script in monorepo root or package
const scripts = parentManifest?.scripts ?? pkg.scripts ?? {}

Expand Down

0 comments on commit 439a646

Please sign in to comment.