Version Management in the KubeStellar Documentation Architecture

The documentation supports multiple versions through the versions.ts config:

  • Default Version: Set in getDefaultVersion()
  • Branch Mapping: Map versions to Git branches in getBranchForVersion()
  • Version Switching: Users can switch versions via query parameter: ?version=0.23.0

The site supports multiple versions of the docs for the assorted components of KubeStellar via branches of the kubestellar/docs repository.

The site when first loaded shows the latest tagged version of the KubeStellar docs. The main branch of a repository corresponds to the dev version on the site. Edits to the main branch referring to a code repository will not show unless the dev version is selected.

Versioning Strategy:

  • Each project has its own version scheme
  • Branch naming convention:
    • KubeStellar: main (latest), docs/{version} (e.g., docs/0.28.0)
    • a2a: main (latest), docs/a2a/{version} (e.g., docs/a2a/0.1.0)
    • kubeflex: main (latest), docs/kubeflex/{version} (e.g., docs/kubeflex/0.8.0)
  • The main branch always displays the version tagged latest”** of the content files for all projects when rendered

This page is an import of part of github.com/kubestellar/docs/CONTRIBUTING.md . The complete file is viewable there, or on the Detailed Contribution Guide page in this section of the website. Changes to this page content must be made in CONTRIBUTING.md on GitHub