#Storybook 7 Composition to a 6.5 storybook doesn't show docs

14 messages · Page 1 of 1 (latest)

alpine cove
#

Working on updating our top level Composed Storybook that points to multiple child storybooks. When the top level storybook is updated to v7 the docs for child storybooks that are still 6.5 only show stories/canvas and no docs (Docs still show if you manually change the url to /docs/). The v6.5 storybooks are using storyStoreV7.

Can the v7 Storybook composition be updated to add docs to sections that have stories if it can't show the docs tab?

cosmic shore
#

There is no docs tab anymore, docs page is listed first in stories menu

alpine cove
#

The issue is that the docs page is not listed first in the stories menu when the referenced storybook is on v6.5

#

it would be great if the docs page was listed first, but it's not listed

#

I'll work on a repro, but there's a screenshot of a storybook 7 with reference to a storybook 6.5:

#

From the parent storybook we can't reach the docs of the child storybook if the child is 6.5

cosmic shore
#

Oh I see the child is 6.5 you may have to add autodocs tag to each, I don’t have any idea how they can both coexist

alpine cove
#

We have our storybook for our design system versioned, so we were only planning to update the latest version to use Storybook 7 and keep the older implementations on 6.5, we would want to be able to persist that documentation

#

And if we're referencing out to other storybooks that we don't have as much control if they're on v6.5 or v7 this really breaks things if we can't access the docs.

alpine cove
cosmic shore
#

I’m not sure of this @late crescent would have better idea.

alpine cove
#

It would be nice if a prop could get added to the refs: {} config to specify that it's 6.5 and then generate the autodoc somehow in place of the sections that had a docs tab in 6.5

#

or some way to sniff and do that