The UI part of the foreman is growing and getting more reusable blocks but when it comes to documentation we actually failing.
I think there are tons of missing documentation and the “developers-handbook” don’t feel like a good place for it.
My Proposal:
Extend the storybook we are already “using”, and make it as our main UI documentation, examples, tutorials…
There are tons of well done storybooks, i particularly like the one wix made: https://wix-wix-style-react.surge.sh
I think we can use the storybook engine for much more than just showcasing react components.
Deploy the storybook as part of the CI
Add .md file based toturials/docs into the storybook
I’m all for interactive docs (I’ve been playing with Jupyter notebooks recently too, very nice…). However, does this work on a statically deployed Jekyll site? Or does it require server-side stuff?
I totally agree with that. It’s much easier to change (and enforce the change) in one PR.
I like the wix storybook style too. If we manage to get the storybook to load .md files then it’s IMHO a win.
Everything you suggest makes a lot of sense to me.
I agree that we should use storybook as the documentation on how to use our components. I also agree that we should link to it from the developer’s handbook.