-
Notifications
You must be signed in to change notification settings - Fork 35
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
feat: implement docsite for contrib packages #244
Conversation
@@ -0,0 +1,159 @@ | |||
import * as React from 'react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This component was copied over from https://github.com/microsoft/fluentui/blob/master/apps/public-docsite-v9/src/DocsComponents/FluentDocsPage.stories.tsx and will be removed once original component will be published as a part of a new package.
.storybook/components/Toc.tsx
Outdated
@@ -0,0 +1,142 @@ | |||
import * as React from 'react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This component was copied over from https://github.com/microsoft/fluentui/blob/master/apps/public-docsite-v9/src/DocsComponents/Toc.stories.tsx and will be removed once original component will be published as a part of a new package.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Azure theme looks good. Thanks for doing this!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work on this! a few tiny things to improve 🚀
packages/nx-plugin/src/generators/configure-storybook/files/.storybook/main.ts.template
Outdated
Show resolved
Hide resolved
packages/nx-plugin/src/generators/configure-storybook/files/.storybook/preview.tsx.template
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
admin merging
|
To enhance the visibility of contrib packages, we've decided to create a documentation site that aggregates documentation for all packages in this repository, similar to what we do for the Fluent UI core repository. This will be integrated into
public-docsite-v9
using the Storybook composition feature.What's New:
docsite
application powered bystorybook
.DocsPage
components from the core to ensure a consistent user experience withpublic-docsite-v9
, will be replaced with imports from a new package once it's available (planned for Q3, cc @Hotell)./.storybook
.Demo:
Screen.Recording.2024-10-11.at.16.29.54.mov
Related Issues:
Partially addresses issue #175.