Skip to content

Adding Storybook to document components and improve frontend developer flow #9

@juliacanzani

Description

@juliacanzani

Following a discussion with @nicolas-jaussaud today I've decided to explore adding Storybook to the framework to act as documentation and frontend development environment.

Here's WP's Storybook to give you an idea of what it could look like: https://wordpress.github.io/gutenberg/?path=/

I've installed it and done some (very) initial setup in this branch: tool/storybook

I will need help, if we decide this is a good idea, setting up a deploy pipeline to Cloudflare pages. Mark has set this up once already with Bitbucket pipelines (see private repo qbt-storybook).

Give it a go and see if you like it, run command can be found in the readme, and let me know of any strong feelings for/against or alternative suggestions that would meet this need for documentation and better ease-of-use for frontend team members. @eliot-akira I heard from Nico that there had been discussion of inline documentation with Docusaurus. I feel this could be a good alternative, but do let me know your thoughts.

Metadata

Metadata

Labels

documentationImprovements or additions to documentation

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions