This chapter introduces the process for creating and adding a new file directly to our Ways of Working document. It covers navigating to the correct location, creating the file, committing changes, and opening a Pull Request (PR) for review. You will also learn how to request a review and get your new file merged into the project.
Navigating and Adding a New File on our Ways of Working¶
To add a new file:
- Go to our Ways of Working website.
- Identify where in the documentation structure your new file should be created.
- Open the Ways of Working folder in the DSWB GitHub repository.
- Click the “+” icon on the top left.
- Name your file clearly (e.g.,
filename.md
) following our naming conventions. - Add your content in the GitHub editor. You may use chapter templates to maintain consistency.
- Click the Commit changes... button on the top right.
- Provide a short but clear commit message and a longer description if necessary.
- Choose the option to create a new branch for your commit.
- Commit the file.
- GitHub will prompt you to open a Pull Request (PR).
- Title the PR as
[WIP] Add filename.md
to indicate it’s a Work In Progress.
The next step is to have your new file reviewed and merged - if accepted.
Requesting Review and Merging¶
- Request a review by tagging a reviewer (e.g.,
@Preshh0
). - Address any review comments and push follow-up commits to the same branch.
- Once ready, change the PR title to
[Ready for review] Add filename.md
. - After approval, your PR will be merged into the main branch.
- The new file will now be live in the GitHub repository and reflected on the Ways of Working document.
If you encounter any issues, please tag Precious Onyewuchi (preshh0) on GitHub.