We're so glad that you're thinking about contributing to moja global. We welcome your contributions!
Here are some guidelines and instructions for contributing to our projects. Please go through them before making a contribution.
moja global governs its participants according to the Contributor Covenant Code of Conduct. As a contributor, you agree to uphold this code. Please report unacceptable behavior to info@moja.global. If you want your report to be handled confidentially, please report to guy@moja.global.
Before asking any questions, please have a look at our FAQs. If your question isn't answered there, please write to info@moja.global.
If your question concerns the code of a project, then you should create a new issue in the relevant project's repository.
You can also join moja global and then ask your question(s) in the relevant channel of our private Slack workspace.
In order to set up the documentation website locally, make sure you have a Github account. If you do not have an existing Github account, we recommend you to create one.
Here are the steps you can follow while setting up the documentation locally.
-
Fork the repository.
-
Clone the repository with the following command. Replace the <GITHUB_USERNAME> with your username.
git clone https://github.com/<GITHUB_USERNAME>/moja_global_docs.git
- Next, go to the directory containing the project.
cd moja_global_docs
- Navigate to the docs directory
cd docs
Make sure you already have python and pip installed before setting up the documentation.
virtualenv env
source env/bin/activate
pip install -r requirements.txt
make html
virtualenv env
env\Scripts\activate
pip install -r requirements.txt
make html
You can now run the documentation site on _build/html/index.html
in your browser. In order to update the documentation after making corresponding changes, run make clean && make html
.
make linkcheck
You can now look for the broken links, if any, inside _build/linkcheck/output
.
Bug fixes, performance improvements, code formatting, ... There are a lot ways in which you can contribute code! The issues list of a project is a great place to find something that you can help us with.
To increase the chances of your code getting merged, please ensure that:
- You satisfy our contribution criteria.
- Your code follows our coding guidelines.
- Your submission follows Vincent Driessen's Git Branching System.
- Your code's documentation follows our rules.
- Your pull request:
- Passes all checks and has no conflicts.
- Has a well-written title and message that briefly explains your proposed changes.
We welcome all kinds of bug reports, user feedback and feature requests! We've created some issue templates to assist you in this. Please use them to create a new issue in the relevant project's repository. If you are not sure how to create an issue, here are the steps:
-
Navigate to the main page of the documentation website repository
-
Click
Issues
-
Click
New issue
-
Our repository uses issue templates, click
Get started
next to the type of issue you'd like to open -
Type a title for your issue. We advise you to stick to the issue template to describe the issue
-
After you are finished, click
Submit new issue
After you have cloned the documentation repo to your computer locally, edit the files that you wish to change and follow the steps to open a pull request.
-
add
andcommit
your changes to your repository -
Git push your changes to your fork on Github
-
On Github, click on the
Create a new Pull Request
button. -
Use a succinct title and descriptive comments to descibe your Pull Request. Also Ensure maintainers can understand your proposed changes from the description
-
Sign your message with
Signed-off-by: Random J Developer <random@developer.example.org>
This shows that you agree to the Developer Certificate of Origin (DCO). It certifies that you wrote (or otherwise have the right to submit) your contribution to the project
-
Ensure your Pull-Request passes all checks and has no conflicts
-
Click
Create Pull Request
We use the All Contributors Bot to recognize contributors.
To get recognized, just add the following line to a comment after making your contribution (like submitting a pull request, replying to a question, resolving an issue, etc.):
@all-contributors please add <@username> for <contributions>
Replace <@username>
with your GitHub username and <contributions>
with any word from this list.
After that, the @all-contributors bot will submit a PR to include you in the list of contributors. Once this PR gets accepted, you'll get added to the Contributors table in the relevant project's README
.
Yes, there are a lot of other ways in which you can help us!
You can coach new contributors, answer user questions, organize events, help us in administration, fundraising, website development, communication/outreach. You can also offer strategy advice. You can even join our strategy board!
If there's some other way, not listed above, in which you'd like to help, then please drop us a line at info@moja.global. We'll get in touch with you!