This is the source of documentation for Shesha, hosted at docs.shesha.io, powered by Docusaurus v2.
Navigate to the website sub-directory
$ cd website
Run the below command to install node-modules
$ npm install package.json
To set up the local development environment
$ npm start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
Note: The Serach bar does not run in development mode and will be greyed out. To test the serach. Use the Build and Test commands below.
It would help if you verified all your changes with a local build.
$ npm run build
This command generates static content into the build
directory. You can use the local builds to verify your added content before raising a PR.
$ npm run serve
This command is used to verify the content generated in the build
directory. It acts as a simulator on your local machine to verify the actual build once the content is merged/deployed to the website.