kobotoolbox / kpi

kpi is the server for KoboToolbox. It includes an API for users to access data and manage their forms, question library, sharing settings, create reports, and export data.
https://www.kobotoolbox.org
GNU Affero General Public License v3.0
137 stars 182 forks source link

Start documenting CSS code #3247

Open magicznyleszek opened 3 years ago

magicznyleszek commented 3 years ago

Description

For JS code we use JSDoc, we should start using something similar for our styles.

Let's do some research and start using one of:

  1. https://react-styleguidist.js.org/
  2. https://fractal.build/
  3. https://storybook.js.org/
  4. https://uiengine.uix.space/
  5. https://github.com/dimanech/atlas-guide
  6. http://warpspire.com/kss/ dead
  7. https://github.com/csstools/mdcss dead
  8. https://holidaypirates.github.io/nucleus/ dead
  9. https://github.com/Paratron/CSSdoc dead
  10. https://www.naturaldocs.org/ someone mentioned that it could be used to document CSS, but seems not true :?:
  11. https://github.com/bjankord/Style-Guide-Boilerplate dead
  12. http://atomicdocs.io not for us
  13. https://github.com/blueberryapps/react-bluekit dead
  14. https://github.com/mpetrovich/stylemark dead
  15. https://github.com/bitovi/documentcss dead
  16. http://fbrctr.github.io/ dead
  17. https://github.com/webpro/component-styleguide dead
  18. https://github.com/NoDivide/astrum dead
  19. https://patternlab.io not for us
  20. https://github.com/DSSORG/DSS dead
  21. https://github.com/trulia/hologram dead
  22. https://github.com/EightMedia/styleguide.js dead
  23. https://github.com/morishitter/postcss-style-guide dead
  24. https://github.com/styledown/styledown dead
  25. https://github.com/emiloberg/markdown-styleguide-generator dead
  26. https://github.com/Dkogan90/simple-style-guide dead
  27. https://github.com/aigis-styleguide/aigis dead
  28. https://github.com/jacobrask/styledocco dead
  29. https://github.com/winstromming/sassdown dead

Expected outcome of this task:

Additional details

Possible alternative to this would be moving styles from separate files inside js.

magicznyleszek commented 3 years ago

React Styleguidist

magicznyleszek commented 3 years ago

Fractal:

magicznyleszek commented 3 years ago

Storybook:

magicznyleszek commented 3 years ago

UI Engine:

magicznyleszek commented 3 years ago

Atlas: