Files
medusa-store/www/docs
github-actions[bot] 0887e5007f chore(docs): Removed Docs Announcement Bar (automated) (#4752)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2023-08-13 07:39:59 +00: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 (in other words, 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, the clean-node-modules script was added that deletes the node_modules directory. The script is called that script before the start and build scripts are ran.

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

Components and Theme

Extended Theme Components

Components that extend themes from Docusaurus or other plugins are placed under src/theme.

Medusa Docs Components

Components created specifically for the Medusa Docs are placed under the src/componenets directory.