design-system icon indicating copy to clipboard operation
design-system copied to clipboard

chore(docs): include `raw-components` and `health` stories in the local build

Open schaertim opened this issue 5 months ago โ€ข 4 comments

๐Ÿ“„ Description

Some of the stories should only be shown when the docs are run locally. Up to now, they were just hidden from the navigation sidebar using css. That meant they could still be found and accessed by searching for them in the searchbar. As a more robust solution instead of just hiding them with css i added logic to not include them in the build at all if we are not in the dev environment.

๐Ÿš€ Demo

If applicable, please add a screenshot or video to illustrate the changes.


๐Ÿ“ Checklist

  • โœ… My code follows the style guidelines of this project
  • ๐Ÿ› ๏ธ I have performed a self-review of my own code
  • ๐Ÿ“„ I have made corresponding changes to the documentation
  • โš ๏ธ My changes generate no new warnings or errors
  • ๐Ÿงช I have added tests that prove my fix is effective or that my feature works
  • โœ”๏ธ New and existing unit tests pass locally with my changes

schaertim avatar Apr 30 '25 08:04 schaertim