To join the Modular Documentation Project, email [email protected]
with "REQUESTING ACCESS" in the subject and your GitHub username in the body.
- Fork the Modular Docs Repository on GitHub. For more information, see GitHub's Forking a repository topic.
-
Clone your fork to your local machine:
git clone [email protected]:<username>/modular-docs.git
For more information, see GitHub's Cloning your forked repository topic.
-
Configure an upstream remote to sync with the original repository:
cd modular-docs git remote add upstream [email protected]:redhat-documentation/modular-docs.git
For more information, see GitHub's Configuring git to sync your fork topic.
-
Verify the remotes and check your project's status:
git remote -v git status
The output should look like this:
origin https://github.com/<username>/modular-docs.git (fetch) origin https://github.com/<username>/modular-docs.git (push) upstream https://github.com/redhat-documentation/modular-docs.git (fetch) upstream https://github.com/redhat-documentation/modular-docs.git (push) On branch main Your branch is up to date with 'origin/main'. nothing to commit, working tree clean
-
Prepare your main branch:
git checkout main git fetch upstream main git rebase upstream/main git switch -c <new_branch_name>
Example:
git switch -c create_master_adoc
-
Edit content or add new material as needed.
-
Stage, commit, and push your updates:
git add <path_to_file> git commit -m "<your_commit_message_here>" git push origin HEAD
Example:
git add modular-doc-manual/master.adoc git commit -m "Updated the master.adoc file" git push origin HEAD
-
Create a pull request by opening the link in the command output.
Example:
remote: Create a pull request for '<new_branch_name>' on GitHub by visiting: remote: https://github.com/rolfedh/modular-docs/pull/new/<new_branch_name>
-
Initiate a review by adding
fcc-review-board
under Reviewers in the PR and posting a request in #ccs-mod-docs-steering-committee (private) or #forum-ccs-mod-docs (public) on Slack. -
Engage with feedback and resolve any issues or suggestions raised by reviewers.
-
Follow up, if needed, by gently reminding reviewers or reposting to the Slack channel after you make significant changes.
-
Close the issue: After your PR gains the necessary approvals and a review board member has merged it, close the issue associated with your PR.