From 1c4538951f5f2a55332132a26c259740677454ae Mon Sep 17 00:00:00 2001 From: jonniebigodes Date: Tue, 4 Aug 2020 19:18:32 +0100 Subject: [PATCH] added aside for the docs flag when building. --- docs/workflows/publish-storybook.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/workflows/publish-storybook.md b/docs/workflows/publish-storybook.md index ab3a90c68c6..785948049b4 100644 --- a/docs/workflows/publish-storybook.md +++ b/docs/workflows/publish-storybook.md @@ -18,6 +18,17 @@ Storybook will create a static web application at the path you specify. This can npx http-server ./path/to/build ``` +
+ +Asides from the `-o` flag, you can also include other flags to build Storybook, for instance if you're using [Docs](../writing-docs/introduction.md), you can append the `--docs` flag and Storybook will build your [MDX](../writing-docs/mdx.md) and [CSF](../writing-stories/introduction.md#component-story-format) stories into a rich and interactive documentation. + +You can learn more about these flag options [here](../api/cli-options.md). + + +
+ + +If you need to build ### Publish Storybook online Once your Storybook is built as a static web app it can be deployed to any static site hosting services. The Storybook team uses [Chromatic](https://www.chromatic.com/), a free publishing service made by Storybook maintainers that documents, versions, and indexes your UI components securely in the cloud.