diff --git a/docs/codegen/generator_components_pages.mjs b/docs/codegen/generator_components_pages.mjs index ccfb41238..4565d4a4e 100644 --- a/docs/codegen/generator_components_pages.mjs +++ b/docs/codegen/generator_components_pages.mjs @@ -27,7 +27,11 @@ export async function generate() { fs.mkdirSync(componentsDirectory); } - components.map((component) => { + components.forEach((component) => { + if ('toolkit' in component && component.toolkit !== 'core') { + return + } + // eslint-disable-next-line prettier/prettier const componentPageTemplate = path.resolve(componentsDirectory, "component_page.mdx.tpl"); const page = fs.readFileSync(componentPageTemplate, "utf8"); diff --git a/src/ui/tools/generator_storybook.mjs b/src/ui/tools/generator_storybook.mjs index 0c5ffdf8b..81d7bb009 100644 --- a/src/ui/tools/generator_storybook.mjs +++ b/src/ui/tools/generator_storybook.mjs @@ -16,6 +16,7 @@ const IGNORE_COMPONENT_TYPES = [ "steps", "html", "repeater", + "workflowsnode", ]; const __filename = fileURLToPath(import.meta.url);