owncast/web/.storybook/tools/generate-stories.sh

16 lines
639 B
Bash
Raw Normal View History

2023-01-27 01:16:32 +03:00
#!/bin/sh
# Generate the custom Emoji story
node generate-emoji-story.mjs >../stories-category-doc-pages/Emoji.stories.mdx
2023-01-27 02:23:17 +03:00
# Generate stories out of documentation
# Pull down the doc about development
curl -s https://raw.githubusercontent.com/owncast/owncast.github.io/master/content/development.md >/tmp/development.md
2023-01-27 03:15:06 +03:00
node generate-document-stories.mjs
2023-01-27 07:14:52 +03:00
# Project image assets
node generate-image-story.mjs ../../public/img/ Images >../stories-category-doc-pages/Images.stories.mdx
node generate-image-story.mjs ../../public/img/platformlogos/ "Social Platform Images" >../stories-category-doc-pages/SocialPlatformImages.stories.mdx