Skip to content

Commit

Permalink
Update multiframework.md
Browse files Browse the repository at this point in the history
  • Loading branch information
shilman committed Oct 25, 2019
1 parent 740f4f2 commit d02f9e0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions addons/docs/docs/multiframework.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@

Storybook Docs [provides basic support for all non-RN Storybook view layers](../README.md#framework-support) out of the box. However, some frameworks have been docs-optimized, adding features like automatic props table generation and inline story rendering. This document is a dev guide for how to set up a new framework in docs.

- [Storybook Docs framework dev guide](#storybook-docs-framework-dev-guide)
- [Adding a preset](#adding-a-preset)
- [Props tables](#props-tables)
- [Inline story rendering](#inline-story-rendering)
- [Adding a preset](#adding-a-preset)
- [Props tables](#props-tables)
- [Inline story rendering](#inline-story-rendering)

## Adding a preset

Expand All @@ -17,7 +16,7 @@ Here's a basic preset for `@storybook/html` in `addons/docs/html/preset.js`:
module.exports = require('../dist/frameworks/common/makePreset').default('html');
```

This automatically adds [DocsPage](./docspage.md) for each story and sets up various webpack/babel for MDX support.
This automatically adds [DocsPage](./docspage.md) for each story, as well as webpack/babel settings for MDX support.

There is also a little hoop-jumping that will hopefully be unnecessary soon.

Expand Down

0 comments on commit d02f9e0

Please sign in to comment.