My Storybook uses the following grouping for stories:
Introduction
Styleguide
Atoms
Component
README
Examples
Component
README
Examples
Molecules
Component
README
Examples
Organisms
Component
README
Examples
- Basically three groups: Atoms, Molecules, and Organisms.
- Each group should have alphabetized components. This currently works.
- Each component has a README mdx file, and then all stories nested under Examples.
I’m currently sorting stories like this:
options: {
storySort: {
method: 'alphabetical',
order: ['Introduction', 'Styleguide', 'Atoms', 'Molecules', 'Organisms'],
locales: 'en-US',
}
},
This gets me close, but the README and Examples within component stories appear in alphabetical order when I want README to appear first.
Is this possible?
