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 5fcc741 commit 342324eCopy full SHA for 342324e
scripts/docs/buildDocsCommon.js
@@ -10,7 +10,7 @@ const SERVICES_DOCS_DIR = './docs/services';
10
const COMPOSITE_DOCS_DIR = './docs/composite';
11
const FOUNDATION_DOCS_DIR = './docs/foundation';
12
13
-const VALID_COMPONENTS_CATEGORIES = [
+const VALID_CATEGORIES = [
14
'foundation',
15
'basic',
16
'assets',
@@ -75,7 +75,7 @@ function processComponents(components) {
75
const isParentComponent = parentComponents.includes(componentName);
76
const isIncubatorComponent = component.category === 'incubator';
77
78
- if (!VALID_COMPONENTS_CATEGORIES.includes(component.category)) {
+ if (!VALID_CATEGORIES.includes(component.category)) {
79
console.error(`${componentName} has invalid category "${component.category}"`);
80
}
81
0 commit comments