Contributing
We welcome all kinds of contributions to Kepler from the community!
For an in-depth guide on how to get started, checkout the Contributing Guide here.
Kepler Adopters
You and your organization are using Kepler? That's awesome. We would love to hear from you! 💚
The yaml file in here contains a list of all Kepler adopters. If you want to add your organization to Kepler's list, just add an entry there and once merged you will be found under Kepler Adopters.
Rendering Adopters
As part of adding an organization to the Kepler Adopters page, when data/adopters.yaml is updated, gomplate must be installed. The Kepler website uses it to render the Kepler Adopters page properly.
Note
These steps are only needed if data/adopters.yaml is updated as part of adding an organization to the Kepler Adopters page.
-
Install pkgx
curl -Ssf https://pkgx.sh | sh
-
Install gomplate
pkgx +gomplate.ca^v3.11.7
-
Enter the output from the previous command to update PATH. Example:
PATH="$HOME/.pkgx/gomplate.ca/v3.11.7/bin${PATH:+:$PATH}"
-
Update adopters page using data from data/adopters.yaml
gomplate -d adopters=./data/adopters.yaml -f templates/adopters.md -o docs/project/adopters.md
Adding Your Organization
To do so follow these steps:
- Fork the kepler-doc repository.
- Clone it locally with
git clone https://github.com/<YOUR-GH-USERNAME>/kepler-doc.git
. - (Optional) Add the logo of your organization to docs/fig/logos. Good practice is for the logo to be called e.g. MY-ORG.png (=> docs/fig/logos/default.svg is the Kepler logo, it is used when no organization logo is provided.)
-
Add an entry to the YAML file with the name of your organization, url that links to its website, and the path to the logo. Example:
- name: Kepler url: https://sustainable-computing.io/ logo: logos/kepler.svg
-
Verify the Kepler Adopters page updated properly by running the following commands (see Install MkDocs for more details on how to preview the documentation from a build):
mkdocs build mkdocs server
-
When happy with the changes, add the changed files using
git add -A
and then commit usinggit commit -s -m "Add MY-ORG to adopters"
(commit sign-off is required, see DCO of the kepler project). - Push the commit with
git push origin main
. - Open a Pull Request to kepler-doc