This project is licensed under the Apache 2.0 license and accept contributions via GitHub pull requests. This document outlines some of the conventions on development workflow, commit message formatting, contact points and other resources to make it easier to get your contribution accepted.
To maintain a safe and welcoming community, all participants must adhere to the project's Code of Conduct.
- Fork the repository on GitHub.
- Read the README for build and test instructions.
- Explore the project, submit bugs, and contribute patches!
All documentation for this site comes from source repositories like prometheus-operator or kube-prometheus.
This repository does not maintain documentation directly.
Documentation is synchronized from the source repositories using the synchronize.sh script. This script defines:
- Which repositories to pull content from.
- Where the documentation should be placed in this repository.
To receive faster and more effective reviews from the maintainers, follow this approach when creating a pull request:
-
Create a branch in the source repository and make your changes there (e.g.,
doc-update). -
Submit a pull request to the source repository with your changes. This PR will contain the actual documentation updates.
-
Create a new branch in this repository (e.g.,
preview-doc-update). -
Modify
synchronize.shtemporarily to point to your branch (doc-update) in the source repository. -
Before creating a pull request, run the
makecommand to update the latest changes from your branch (doc-update). -
Commit the updated files and open a pull request in this repository to provide a live preview of your documentation changes.
-
After your branch in the source repository is merged, revert the branch reference in
synchronize.shback to themainbranch. -
Run the
makecommand again and push the final changes for review and merge.
This project uses the Doks theme for styling. Theme files are located in the themes/ directory.
In some cases, you might need to create custom components to achieve a particular style. It is recommended to add or modify templates in the themes/doks/layouts/ folder when needed.
To reach out to the community, please refer to Contributing Guidelines in Prometheus-Operator.