qwikifiers / qwik-ui

Qwik's official Headless and styled component library
https://qwikui.com
MIT License
570 stars 116 forks source link

WIP: Switch to Storybooks for Documentation and Sandboxing #179

Closed adaliszk closed 1 year ago

adaliszk commented 1 year ago

What is it?

Description

I am adding storybooks to describe the components' development, testing, and documentation. This allows us to iterate quickly without needing to build a custom website.

Why?

Storybook is relatively standard for UI library documentation; the general idea is to provide an automated documentation page that can act as a development playground.

TODOs

Checklist:

References

github-actions[bot] commented 1 year ago

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

adaliszk commented 1 year ago

I have read the CLA Document and I hereby sign the CLA

gioboa commented 1 year ago

With this PR we can replace the entire documentation website, right? Can we add also information about "getting started" and other custom pages?

adaliszk commented 1 year ago

/related https://github.com/BuilderIO/qwik/issues/3061

adaliszk commented 1 year ago

/issue https://github.com/qwikifiers/qwik-ui/issues/77

adaliszk commented 1 year ago

@gioboa

With this PR, we can replace the entire documentation website, right? Can we also add information about "getting started" and other custom pages?

Yes, besides the auto-documentation and stories, we can also write custom pages with JSX flavored Markdown: https://storybook.js.org/docs/react/writing-docs/mdx

gioboa commented 1 year ago

@gioboa

With this PR, we can replace the entire documentation website, right? Can we also add information about "getting started" and other custom pages?

Yes, besides the auto-documentation and stories, we can also write custom pages with JSX flavored Markdown: https://storybook.js.org/docs/react/writing-docs/mdx

Sounds great 👏

gioboa commented 1 year ago

I converted the PR in draft because is WIP, please mark it as ready when it's ok. Thanks

adaliszk commented 1 year ago

Thank you, I have forgotten that. Can you also assign the PR and the issue to me?

gioboa commented 1 year ago

is this PR still valid? cc @shairez

adaliszk commented 1 year ago

I had no time in the past month to update it, so likely not anymore. I'll close it so no confusion would come from it :wink: