This website is built using Docusaurus, a modern static website generator.
npm installnpm startThis command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
During local development, only the current docs (in the docs/ folder) are served without versioning. This provides a faster development experience.
npm run buildThis command builds static content into the build directory.
The documentation supports multiple versions to maintain docs for different releases. Versioned docs are checked into the repository under versioned_docs/ and versioned_sidebars/.
- Current docs (
docs/) — Working documentation from trunk, served at/docs/trunk - Versioned docs (
versioned_docs/) — Checked-in snapshots from release branches- Listed in
versions.jsonin order from newest to oldest - Latest version serves at
/docs - Previous versions serve at
/docs/v1.10, etc.
- Listed in
When releasing a new version (e.g., v2.1):
- Copy the current
docs/directory toversioned_docs/version-2.1.x/ - Add
"2.1.x"to the beginning ofversions.json - Create a matching sidebar file at
versioned_sidebars/version-2.1.x-sidebars.json - Commit and push the changes
/docs— Latest stable release (default)/docs/trunk— Working docs from trunk/docs/v1.10— Previous release versions
To update docs for a released version, edit the files directly in the corresponding versioned_docs/version-<version>/ directory and commit the changes.