ecomplus / storefront

Modern and high performant headless eCommerce Storefront. PWA & JAMstack architecture ready for E-Com Plus APIs. Built with Vue.js, extensible through widgets and editable with Netlify CMS.
https://developers.e-com.plus/storefront/
MIT License
96 stars 35 forks source link

Storefront documentation #169

Closed leomp12 closed 4 years ago

leomp12 commented 4 years ago

Update: Using Vuepress

https://developers.e-com.plus/storefront/


Choose the right tool, setup devops and initial doc files for template usage/customization.

Documentation will include:

Which and why?

  1. Storybook
  2. Vuepress
  3. Vuese / Vue styleguidist
  4. Start from Bootstrap 4 docs, add things for Vue components (seems laborious)
  5. Another (?)

After that we can start documenting base UI with @ecomplus/storefront-twbs https://github.com/ecomplus/storefront/issues/168

leomp12 commented 4 years ago

Documentation source should be a new (private) package managed by Lerna to run tests with local package versions.

Eg.: we can create a documentation folder on root dir and add documentation/* to packages.

leomp12 commented 4 years ago

Storybook seems to be more for tests then documentation itself, and as we're going to write large documentation with very different sections, I'm tending to Vuepress because it's simpler and can document almost anything (not only components reference)...

thiagoabreudev commented 4 years ago

I agree. I believe that the storybook can be added later as a playground if necessary.

leomp12 commented 4 years ago

:up: Update Vuepress sidebar/nav with packages and topics properly ordered.

leomp12 commented 4 years ago

:next_track_button: Doc parts were listed on project https://github.com/ecomplus/storefront/projects/3 and should be converted to issues with respective checklist (such as https://github.com/ecomplus/storefront/issues/168).