Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More control over sidebar content #7784

Open
kerryj89 opened this issue Aug 16, 2019 · 1 comment
Open

More control over sidebar content #7784

kerryj89 opened this issue Aug 16, 2019 · 1 comment

Comments

@kerryj89
Copy link

kerryj89 commented 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:

<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!

@kerryj89 kerryj89 changed the title More control over sidebar indexing More control over sidebar content Aug 16, 2019
@shilman shilman added this to the 5.3.0 milestone Aug 16, 2019
@shilman shilman added the todo label Aug 17, 2019
@shilman shilman modified the milestones: 5.3.0, 5.4.0 Nov 7, 2019
@shilman shilman modified the milestones: 5.4.0, 6.0.0 Dec 12, 2019
@shilman shilman modified the milestones: 6.0, 6.0 docs May 8, 2020
@shilman shilman modified the milestones: 6.0 docs, 6.1 docs Jun 24, 2020
@shilman shilman added P0 and removed P0 labels Oct 12, 2020
@shilman shilman modified the milestones: 6.1 docs, 6.2 docs Oct 13, 2020
@shilman shilman removed this from the 6.2 docs milestone Jun 8, 2021
@lheydel
Copy link

lheydel commented May 20, 2022

Hey, any news on this issue? Or does anyone have a workaround to somewhat achieve this?

@shilman shilman removed the P3 label Oct 18, 2022
@shilman shilman removed the todo label Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants