Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions scripts/docs/buildDocsCommon.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const fs = require('fs');

const COMPONENTS_DOCS_DIR = './docs/components';
const SERVICES_DOCS_DIR = './docs/services';
const COMPOSITE_DOCS_DIR = './docs/composite';
const FOUNDATION_DOCS_DIR = './docs/foundation';

const VALID_COMPONENTS_CATEGORIES = [
Expand All @@ -28,8 +27,7 @@ const VALID_COMPONENTS_CATEGORIES = [
'infra',
// non components categories
'services',
'dev', // development category for components we don't want to render in our docs (used in test.api.json),
'composite'
'dev' // development category for components we don't want to render in our docs (used in test.api.json)
];

function buildDocs(apiFolders, componentsPreProcess) {
Expand Down Expand Up @@ -97,10 +95,6 @@ function processComponents(components) {

let dirPath;
switch (component.category) {
case 'composite': {
dirPath = `${COMPOSITE_DOCS_DIR}`;
break;
}
case 'services': {
dirPath = `${SERVICES_DOCS_DIR}`;
break;
Expand Down