Thank you for your interest in contributing to our documentation repository! We welcome contributions from everyone. Please follow these guidelines to help maintain a high-quality, consistent, and collaborative project.
Before contributing, ensure you have:
Click the Fork button at the top-right corner of this page to create your own copy of the repository.
Clone the repository to your local machine using your fork URL:
git clone <your-fork-url>
Navigate into the project directory and install dependencies:
cd docs
npm install
Create a new branch for your work:
git checkout -b my-feature-branch
Edit or create documentation files as needed.
Please follow the existing structure, tone, and formatting style.
Start the development environment to verify rendering:
npm run dev
Tip: During active documentation contributions, regularly run
npm run devto preview updates in real time.
Commit your changes with a clear and meaningful message:
git add .
git commit -m "Describe your changes"
git push origin my-feature-branch
Open a Pull Request (PR) from your branch to the main repository.
Provide a summary of what you changed (maximum 2 lines).
Reference related issues, e.g.:
Fixes #123
The E2E test suite includes a temporary workaround for a known kubeflex context-selection issue.
Under certain conditions, kflex create can select an unintended hosting cluster when multiple kubeconfig contexts are present and kubeflex-related context extensions are configured. This can cause E2E tests to fail even when the current context correctly accesses the intended hosting cluster.
To ensure consistent and reliable test execution, the E2E test setup removes kubeflex-specific extensions from the kubeconfig before running tests. This forces kflex create to rely solely on the current kubeconfig context during E2E runs.
This workaround is limited to the E2E test infrastructure and does not affect normal user workflows. It is intended to be temporary and will be removed the underlying context-handling issue is resolved.
AI tools (like GitHub Copilot or ChatGPT) are helpful but not always context-aware.
Please DO NOT blindly copy-paste AI-generated code.
Before committing:
The OSSF Scorecard workflow requires permissions to be defined at the job level. Workflow-level permissions are not supported and may cause CI failures due to OSSF Scorecard web application requirements.
The image scanning workflow supports repositories with multiple Dockerfiles using a matrix strategy. Dockerfile paths must be correctly configured to ensure all container images are scanned successfully.
For details on the documentation architecture, see the Docs Structure page.
For making simple edits, see the Simple Changes page.
For version management, see the Version Management page.
If you have questions, open an issue or ask in the community channels:
This page is based on github.com/kubestellar/docs/CONTRIBUTING.md. For the most up-to-date version, see that file directly.