Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@storybook/docs-mdx

storybookjs7.2mMIT3.1.0TypeScript support: included

Storybook Docs MDX analyzer

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

changelog

v3.1.0 (Mon Mar 25 2024)

🚀 Enhancement

🐛 Bug Fix

Authors: 1


v3.0.0 (Tue Jan 02 2024)

💥 Breaking Change

🚀 Enhancement

🐛 Bug Fix

⚠️ Pushed to main

Authors: 5