While the grammar, formatting, and style and the writing guide can both help you write excellent content for the Filecoin Docs project, they don’t delve into how you can actually submit you content changes. This guide will walk you through finding an issue, fixing it, and then submitting your fix to the
There are plenty of small-sized issues around Filecoin documentation that make for easy, helpful contributions to the Filecoin project. Here, we’ll walk through:
- Finding an issue.
- Discussing the issue.
- Creating a fix.
- Submitting a pull request.
- Waiting for a review.
- Merging your fix.
This may look like a lot of steps for a small issue fix, but they’re all necessary to make sure we keep the docs in this project up to standard. Plus, you’re not on your own — half these steps can be completed by Filecoin docs project maintainers!
Finding an issue
The Filecoin project is hosted in GitHub. There’s a bunch of reasons for this, one of them being that GitHub comes with an issue tracker, which enables the core Filecoin team to field problems from the community. All community issues can read the docs, find issues, and raise issues in the docs repository (called a repo for short).
All issues involving the Filecoin docs themselves can be found here in the
filecoin-project/filecoin-docs repo under the Issues tab. Here you can see all the issues that are currently open. We try to tag each issue with relevant descriptive tags. Tags like difficulty and size can give a sense of the amount of effort a task will take to complete.
Let’s jump into finding an issue.
- Go to the Filecoin Docs repository at github.com/filecoin-project/filecoin-docs.
- Select the Issues tab.
- Click the Label dropdown and select the help wanted tag.
- Select an issue that interests you.
Make a note of the issue number and keep it handy for later.
Discussing the issue
As you can probably tell from the available tags, there are lots of different types of issues. Some are tiny one-sentence changes, and others are sizable projects that require a rewrite of several pages. For small issues, there may be very little or no discussion. There’s no need to waste everybody’s time talking about changing a broken link. But more significant issues will likely need input from different members of the project.
When adding to a discussion, remember that it may take days or weeks to conclude an issue. With this in mind, try to include all the relevant information anyone might need within each message.
Let’s add to the discussion of the issue you’ve chosen:
- Read through all the previous posts to get up to speed about the issue.
- Add any comments you feel are necessary.
- If you still want to tackle this issue, post a message saying that you’d like to take ownership of it.
Once you’ve claimed ownership of an issue, a project maintainer will assign you to it. If this is a large issue, someone from the Filecoin team will check in with you from time to time and make sure you’ve got everything you need to progress with the issue.
Creating a fix
If you’ve got this far, then you should have an issue in hand and a basic idea of how to fix it. Next up is implementing your fix! The process goes something like this:
- Create a fork.
- Make changes locally on your machine.
- Push your changes.
A fork of a project is your own personal copy of that project. You can make as many changes to this copy whenever you want, because you own it. The idea is that you can modify this personal copy and send your changes to the project team, who can then review all the work you’ve done.
Here is the process for creating a fork of an existing piece of Filecoin documentation:
Go to the
filecoin-project/filecoin-docsrepository in GitHub.
Select Fork to create a copy of the project.
Clone your copy of the project down to your local machine:
git clone https://github.com/YOUR_USERNAME/filecoin-docs.git
Make your changes locally.
Once all your changes are complete, make sure to push everything back to GitHub:
git add . git commit -m "Fixed a broken URL, issue #123." git push
When adding a commit comment that actively fixes an issue within the project, try to summarize the fix in a few words, and quote the issue number. Following this convention makes it easier for other people to quickly see what you’ve done.
Create a pull request
Once you’re done making commits, and are ready to get a core team member’s review of your work, it’s time to create a pull request.
- Go to the
filecoin-project/filecoin-docsrepository on GitHub.
- Select the Pull requests tab.
- Click New pull request.
- Click compare across forks and select your repository from the head repository dropdown.
- Leave a comment to expand upon your changes.
- Click Create pull request.
GitHub will check if your changes create any merge conflicts with the branch you are trying to merge into.
Waiting for a review
All pull requests from the community must be reviewed by at least one project member before they are merged in. Depending on the size of the pull request, this could take anywhere from a few minutes to a few days to review everything. Depending on the complexity of the pull request, there may be further discussion regarding your changes. Keep returning to GitHub and checking your notifications page to make sure you don’t miss anything.
Merge your fix
Once your pull request has been approved, a project member with the correct rights will merge it. You’ll be notified as soon as the merge is complete.
So there you have it! You’ve successfully completed your first contribution to the Filecoin documentation. We’re always on the lookout for great writers and educators to help us improve the Filecoin docs and make the internet better for everyone, so keep up the good work!