Closed mfranzke closed 3 months ago
@snahn2209 could you please add further findings here?
Reproduction case
The brand overview page is missing. Open https://db-ui.github.io/mono/version/v0.0.57/components/brand/overview
Also missing:
- [ ] header overview (https://db-ui.github.io/mono/review/main/components/header/overview)
- [ ] page overview (https://db-ui.github.io/mono/review/main/components/page/overview)
- [ ] icon overview (https://db-ui.github.io/mono/review/main/components/icon/overview)
Okay, it seems like only the overview page with live demo of this component isn't generated as the related React-Component is used here. The code for this is in showcases/patternhub/scripts/generate-docs-mdx.js
:
if (reactComponent) {
FS.writeFileSync(
`${componentPath}/overview.tsx`,
reactComponent
);
FS.writeFileSync(`${componentPath}/index.tsx`, reactComponent);
} else {
console.log('NOT A REACT COMPONENT!!!! ', componentPath, componentName)
}
Which generators are impacted?
Reproduction case
The brand overview page is missing. Open https://db-ui.github.io/mono/version/v0.0.57/components/brand/overview
Expected Behaviour
The page would get displayed.
Screenshots
No response
Browser version
None
Add any other context about the problem here.
No response