You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
One of my stories has a lot of text about the project and is broken up into several parts (very minimal on code). Because they are not Stories in the traditional sense, they are not indexed in the sidebar where it would be ideal.
Describe the solution you'd like
With addon-docs enabled, perhaps allow indexing to occur on text groupings with <Article> tags just like we do for <Story>, like so:
<Article name="History">
Lorem ipsum dolor sit amet...
</Article>
<Article name="Setup">
Lorem ipsum dolor sit amet...
</Article>
As we aim to consolidate documentation with code seamlessly into one view I think it would be nice to index documentation to the sidebar equally.
Describe alternatives you've considered
I tried wrapping <Story> around the text but Storybook didn't like that.
Are you able to assist bring the feature to reality?
No; wish I could!
The text was updated successfully, but these errors were encountered:
kerryj89
changed the title
More control over sidebar indexing
More control over sidebar content
Aug 16, 2019
Is your feature request related to a problem? Please describe.
One of my stories has a lot of text about the project and is broken up into several parts (very minimal on code). Because they are not Stories in the traditional sense, they are not indexed in the sidebar where it would be ideal.
Describe the solution you'd like
With
addon-docs
enabled, perhaps allow indexing to occur on text groupings with<Article>
tags just like we do for<Story>
, like so:As we aim to consolidate documentation with code seamlessly into one view I think it would be nice to index documentation to the sidebar equally.
Describe alternatives you've considered
I tried wrapping
<Story>
around the text but Storybook didn't like that.Are you able to assist bring the feature to reality?
No; wish I could!
The text was updated successfully, but these errors were encountered: