The following information provides a set of guidelines for contributing to the Osmo Docs repo. Use your best judgment, and, if you see room for improvement, please propose changes to this document.
Contributions come in the form of writing documentation, raising issues, and any other actions that help develop the Osmo protocol documentation.
Please don't submit a pull request to ask a question. Instead, join us in the following communities, and ask all your questions.
The first step is to find an issue you want to fix. To identify issues we think are good for first-time contributors, we add the good first issue label.
If you find an existing issue that you want to work on or if you have a new issue to create, understand the workflow expected by maintainers of the Osmo Docs repository.
Osmo Docs requires everyone, without exception, to submit doc-change proposals by using a pull request (PR). PRs enable contributions from the community, easy testing, and straightforward peer review.
To contribute a doc-change proposal, use the following workflow:
-
Add an upstream so that you can update your fork.
-
Clone your fork to your computer.
-
Create a branch and name it appropriately.
-
Work on only one change in one pull request.
-
Follow these conventions:
- Make your changes adhering to the Osmosis Docs Style Guide and the coding conventions described below. Generally, a commit serves a single purpose and differences should be easy to understand. Do not mix formatting fixes or code moves with actual code changes.
- Commit your changes. Write a simple, straightforward commit message. To learn more, see How to Write a Git Commit Message.
- Push your changes to your remote fork.
- Create a PR on the Osmo Docs repository.
- Identify the type of PR by adding labels to it. For example, if you're still working on the changes, add the work-in-progress label. If you are proposing an enhancement, add the enhancement label.
- Wait for your changes to be reviewed. If you are a maintainer, you can assign your PR to one or more reviewers. If you aren't a maintainer, one of the maintainers will assign a reviewer.
- After you receive feedback from a reviewer, make the requested changes, commit them to your branch, and push them to your remote fork again.
After your PR is approved and validated, and no conflicts exist, it will be merged by a maintainer.