Skip to content

elliotxx/kusionstack.io

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

399 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks GitHub stars license

kusionstack.io

Source for kusionstack.io site https://kusionstack.io.

Powered by Docusaurus 2.

Write documentation for each sub product

Write documentation for sub products in the ./docs/[subProductNmae] directory.

Build locally

$ rm -rf .docusaurus
$ npm install
$ npm run start

Open http://localhost:3000 in the browser.

Build locally with i18n

$ npm run build
$ npx http-server ./build

Open http://localhost:8080 in the browser.

Tagging a new version for each sub product

  1. First, make sure the current docs version (the ./docs/[subProductNmae] directory) is ready to be frozen.
  2. Enter the specified sub product name and a new version number:
npm run docusaurus docs:version:[subProductNmae] [vMAJOR.MINOR]

Example:

npm run docusaurus docs:version:docs v0.12
npm run docusaurus docs:version:ctrlmesh v0.3
npm run docusaurus docs:version:ctrlmesh v0.1

Optional sub product names:

  • docs (alias for kusion)
  • operating
  • ctrlmesh
  • karpor

Format of version number: [vMAJOR.MINOR], e.g. v0.3, v0.13.

When tagging a new version of sub product, the document versioning mechanism will:

  • Copy the full docs/[subProductNmae] folder contents into a new [subProductNmae]_versioned_docs/version-[versionName]/ folder.
  • Create a versioned sidebars file based from your current sidebar configuration (if it exists) - saved as [subProductNmae]_versioned_sidebars/version-[versionName]-sidebars.json.
  • Append the new version number to [subProductNmae]_versions.json.

More see:

Notice

This website is built under Docusaurus version 2.4.1. There may be unknown errors when compiling on other versions.

About

Source for kusionstack.io site

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 28.6%
  • Shell 19.0%
  • CSS 16.3%
  • TypeScript 15.5%
  • MDX 8.0%
  • HTML 6.4%
  • Other 6.2%