...

/

Creating Documentation

Creating Documentation

Learn how to create documentation using Storybook and Sphinx.

Creating documentation using Storybook and Sphinx

We can also take the resulting renderings and put them into our documentation. To do this, we first export Storybook as a static application, then include those files with our documentation.

To compile the static version, we run the build-storybook script.

$ npm run build-storybook

This creates a new directory src/storybook-static and places the HTML ...