File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ const fs = require('fs');
7
7
8
8
const COMPONENTS_DOCS_DIR = './docs/components' ;
9
9
const SERVICES_DOCS_DIR = './docs/services' ;
10
+ const COMPOSITE_DOCS_DIR = './docs/composite' ;
10
11
const FOUNDATION_DOCS_DIR = './docs/foundation' ;
11
12
12
13
const VALID_COMPONENTS_CATEGORIES = [
@@ -27,7 +28,8 @@ const VALID_COMPONENTS_CATEGORIES = [
27
28
'infra' ,
28
29
// non components categories
29
30
'services' ,
30
- 'dev' // development category for components we don't want to render in our docs (used in test.api.json)
31
+ 'dev' , // development category for components we don't want to render in our docs (used in test.api.json),
32
+ 'composite'
31
33
] ;
32
34
33
35
function buildDocs ( apiFolders , componentsPreProcess ) {
@@ -95,6 +97,10 @@ function processComponents(components) {
95
97
96
98
let dirPath ;
97
99
switch ( component . category ) {
100
+ case 'composite' : {
101
+ dirPath = `${ COMPOSITE_DOCS_DIR } ` ;
102
+ break ;
103
+ }
98
104
case 'services' : {
99
105
dirPath = `${ SERVICES_DOCS_DIR } ` ;
100
106
break ;
You can’t perform that action at this time.
0 commit comments