We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 876a43a commit 6b554faCopy full SHA for 6b554fa
src/docs/readme-updater-plugin.js
@@ -51,6 +51,12 @@ export function load (app) {
51
}
52
53
if (projects[project] == null) {
54
+ if (page.model instanceof td.ProjectReflection && page.model.variant === 'project') {
55
+ // this is the monorepo root (monorepo packages have the variant
56
+ // "declaration")
57
+ return null
58
+ }
59
+
60
throw new Error(`Could not derive project name from url mapping model "${page.model.name}" with parent "${page.model.parent?.name}"`)
61
62
0 commit comments