litmus-docs/website
Hrishav b97ec67a2a
chore: Init 3.13.0 versioned docs
Signed-off-by: Hrishav <hrishav.kumar@harness.io>
2025-03-26 13:24:35 +05:30
..
docs Update TOC and Overview for Consistency (#313) 2025-01-15 11:51:21 +05:30
src chore: Added Scarf Tag For Tracking (#246) 2023-11-15 15:13:37 +05:30
static Merging V3 docs to master (#242) 2023-10-09 16:19:13 +05:30
versioned_docs chore: Init 3.13.0 versioned docs 2025-03-26 13:24:35 +05:30
versioned_sidebars chore: Init 3.13.0 versioned docs 2025-03-26 13:24:35 +05:30
.prettierrc Added format command and fixed Prettier config (#66) 2021-07-28 19:11:59 +05:30
README.md updated readme, removed yarn deps (#205) 2022-09-08 19:24:05 +05:30
babel.config.js Added format command and fixed Prettier config (#66) 2021-07-28 19:11:59 +05:30
docusaurus.config.js update link (#304) 2024-11-21 20:58:51 +05:30
package.json Merging V3 docs to master (#242) 2023-10-09 16:19:13 +05:30
sidebars.js Update TOC and Overview for Consistency (#313) 2025-01-15 11:51:21 +05:30
versions.json chore: Init 3.13.0 versioned docs 2025-03-26 13:24:35 +05:30
yarn.lock chore: Init 3.13.0 versioned docs 2025-03-26 13:24: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.