litmus-docs/website
Sarthak Jain ece4adcc2f
Updated chaos control plane arch (#159)
Signed-off-by: SarthakJain26 <sarthak@chaosnative.com>
2022-03-03 15:07:32 +05:30
..
docs Updated chaos control plane arch (#159) 2022-03-03 15:07:32 +05:30
src Functionality for Dark-Mode in Litmus Docs 2.0 (#131) 2021-10-22 17:05:49 +05:30
static Updated the favicon icon & Readme.md. (#95) 2021-08-14 22:54:36 +05:30
versioned_docs Updated chaos control plane arch (#159) 2022-03-03 15:07:32 +05:30
versioned_sidebars Adding docs for v2.6.0 ChaosCenter (#168) 2022-02-15 17:53:35 +05:30
.prettierrc Added format command and fixed Prettier config (#66) 2021-07-28 19:11:59 +05:30
README.md (commands) Added Readme Changes for Versioning command. (#7) 2021-01-13 11:45:56 +05:30
babel.config.js Added format command and fixed Prettier config (#66) 2021-07-28 19:11:59 +05:30
docusaurus.config.js Fixing edit URL (#153) 2021-11-25 13:43:37 +05:30
package-lock.json Adding Docs for v2.5.0 (#162) 2022-01-15 01:44:44 +05:30
package.json Added CN Litmus Cloud Installation Docs (#161) 2022-01-11 12:40:11 +05:30
sidebars.js add: dex installation documentation for `litmusportal` (#134) 2021-10-19 19:39:12 +05:30
versions.json Adding docs for v2.6.0 ChaosCenter (#168) 2022-02-15 17:53:35 +05:30

README.md

Website

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

Installation

npm install

Local Development

npm start

This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.

Build

npm run build

This command generates static content into the build directory and can be served using any static contents hosting service.

Versioning

npm run docusaurus docs:version <VERSION>

This command will tag a new version from master docs. It will copy the docs/ folder contents into a new versioned_docs/version-<version>/ folder, create a versioned sidebars file based from your current sidebar configuration (if it exists) - saved as versioned_sidebars/version-<version>-sidebars.json and append the new version number to versions.json.

Deployment

GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.