JSPM

  • Created
  • Published
  • Downloads 1142806
  • Score
    100M100P100Q272446F
  • License MIT

Storybook Docs MDX analyzer

Package Exports

  • @storybook/docs-mdx
  • @storybook/docs-mdx/dist/index.js
  • @storybook/docs-mdx/dist/index.mjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@storybook/docs-mdx) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@storybook/docs-mdx

Storybook MDX docs is a small library that analyzes the contents of a .docs.mdx file and produces metadata about its contents.

This is an internal library, used to help generate the Storybook's index.json, the static index of all the contents of your storybook.

It currently produces:

name example description
title <Meta title="x"> A manually specified title
of <Meta of={buttonMeta}> A title specified by an imported object
imports import * from './Button.stories' The list of ESM imports

Getting Started

FIXME: Add getting started steps

Contributing

We welcome contributions to Storybook!

  • 📥 Pull requests and 🌟 Stars are always welcome.
  • Read our contributing guide to get started, or find us on Discord, we will take the time to guide you

License

MIT