Search⌘ K

Creating Documentation

Explore how to create detailed documentation by exporting Storybook as a static site and incorporating it into Sphinx using symbolic links. Understand how to manage directories and build workflows that integrate UI component renderings with technical docs, enhancing your project's clarity.

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 ...