Open tudorpopams opened 6 months ago
I see 2 possibilities:
https://storybook.js.org/docs/6.5/sharing/storybook-composition
I quickly tried it out and it works, well, kinda:
More investigation is necessary:
docs
mode is supported with composition ( otherwise we cannot use it in order to maintain same UX )Added another option to the list:
public-docsite-v9
This option involves creating static pages that list all packages with short descriptions and links to standalone Storybooks.
Pros:
Cons:
This approach composes stories for all fluentui-contrib
packages into one website (Storybook in docs only mode, re-using the same Storybook presets and plugins from the core).
Pros:
fluentui-contrib
packages into one website provides a unified and consistent user experience.Cons:
public-docsite-v9
public-docsite-v9
Pros:
public-docsite-v9
ensures a consistent look and feel while leveraging the existing infrastructure.Cons:
option 1 won't scale / nor will fix existing issues with contrib "docs state of the art"
option 3 is unnecessary "javascript golfing" without any real benefit ATM
option 2 is what we want
https://react.fluentui-contrib.dev/
working future-wisethe progress/implementation will be gradual:
1st part:
--doc
mode2nd part:
3rd part
ty
The repo is not easily discoverable at this point thus making it hard for developers to use the components hosted here.
docsite
application that publishes with--doc
modepublic-docsite-v9
via Storybook composition