Files
medusa-store/www/docs
Shahed Nasser 36e2e7a4df chore: fix for deployment (#1970)
* fix for deployment

* fixed gitignore files to match that of the root

* add to gitignore in root
2022-08-02 17:16:18 +03:00
..
2022-08-02 17:16:18 +03:00
2022-04-22 13:06:15 +03:00
2022-08-02 17:16:18 +03:00

Website

This website is built using Docusaurus 2, a modern static website generator.

Note Before Development

If you have installed the dependencies in the root of this repository (i.e., if you have a node_modules directory at the root of this repository), this will cause an error when running this documentation website. This is because the content resides in docs/content and when that content is being imported from there, a mix up can happen between the dependencies which will cause an invalid hook call error.

For that reason, we added a clean-node-modules script that deletes the node_modules directory, and we call that script before the start and build scripts are ran.

So, everytime you run these 2 scripts, the node_modules directory at the root will be deleted.