Thanks for giving a little extra love to our docs site! Below are some basic guidelines to follow to get your PR merged :)
- Fork the repository.
- On your copy of the repo, create a new branch. Be sure that your branch contains the most recent changes from the main branch.
- Make any necessary changes, then commit and push them to your fork.
- Go to the main docs repo in your browser and open a new pull request.
- Title the pull request to describe your contribution, and include a short summary of the changes. If an open issue is associated with your changes, tag the issue by referencing the issue number ( i.e., #123) in the pull request summary.
- If there is a relevant tag like "typo", "bug", or "enhancement", include the tag in the PR.
Set up your fork with the following terminal commands, or an alteration of them to suit your enviornment:
cd pooltogether-docs
git remote add upstream https://github.com/PoolTogether/v4-docs.git
git fetch upstream
git pull --rebase upstream main
git checkout -b "my-contribution"
Below are a couple of ways anyone can start contributing:
-
Flagging confusing copy, explanations, or workflows. An easy and effective way to contribute to docs is to flag pages, sections, and guides in the docs that you find confusing or misleading. You can submit a pull request to make changes to better explain the concepts you find confusing.
-
Updating the written style of any of our docs guides to comply with this style guide. Some easy changes are using first person and an active voice.
-
Create a guide! Some ideas for guides are:
- How to set up a local test environment. This can be specific to your testing suite! It would be great to get a collecting of different testing setups on the site.
- How to fetch on-chain data for liquidity volume, current prices, number of swaps, sizes of swaps, etc.
- A "Hello World" guide for solidity and PoolTogether development.
- How to set up your first contract and deploy it on a testnet.