github/docs repository. This page covers the full workflow, from forking the repository to getting your pull request merged.
Before you start
Review Types of contributions to confirm that the change you want to make is in scope. Pull requests for out-of-scope changes (such as infrastructure or workflow files) will be closed.Fork and clone the repository
Fork the repository
Go to github/docs and click Fork. This creates a copy of the repository under your GitHub account.
Install dependencies
Install Node.js v24 (the version specified in See the local development setup page for full environment requirements.
package.json under "engines"), then do a clean install of dependencies:Making content changes
Only modify files in the following locations. Changes to anything else will not be accepted.| Path | What it contains |
|---|---|
/content/**/*.md | All documentation pages |
/data/reusables/** | Reusable content snippets |
/data/variables/** | Variables (except product.yml) |
/data/release-notes/** | Release note entries |
/data/glossaries/external.yml | External glossary terms |
/data/product-examples/** | Product example data |
Writing style
Follow these principles from the GitHub Docs style guide:- Second person: Use “you” to address the reader directly.
- Active voice: Choose active constructions over passive ones.
- Sentence case for headings: Capitalize only the first word and proper nouns.
- Inclusive language: Avoid gendered language, ableist terms, and idioms.
- Precise terminology: Spell out abbreviations on first use. Avoid informal shorthand like “repo” or “PR.”
Run the linter before submitting
Run the content linter to catch errors before submitting your pull request:Self-review checklist
Before marking your pull request as ready for review, check the following:Content accuracy
Content accuracy
- All information is technically accurate.
- Code examples are correct and tested.
- Links point to existing, relevant pages.
- Procedures follow the actual product UI.
Writing quality
Writing quality
- Headings use sentence case.
- Instructions use second person (“you”) and active voice.
- No broken or placeholder text remains.
- The change makes sense without additional context.
Linting and formatting
Linting and formatting
-
npm run lint-contentpasses with no errors. - Frontmatter fields (
title,shortTitle,intro) are present and accurate. - Liquid tags are correctly opened and closed.
Opening the pull request
Open the pull request
Go to github/docs and click Compare & pull request. Fill in the pull request template:
- Title: A short description of what the PR changes.
- Description: Explain why the change is needed, not just what changed. Link to the relevant issue if one exists.
- Type of change: Select the appropriate option in the template.
Link to an issue
If your pull request resolves an open issue, add a closing keyword in the description:This automatically closes the issue when the PR is merged.
The review process
After you open a pull request, a docs team member will review it. The team is small, so review times vary depending on current workload. During review, you may receive:- Requests for changes — Make the requested updates on your branch and push them. The pull request will update automatically.
- Approvals — Once approved, the pull request is eligible to enter the merge queue.
- Closing without merge — If the change is out of scope or duplicates existing content, the team will close the PR and explain why.
The docs team may make small edits directly to your branch (such as fixing linter errors or adjusting formatting) rather than requesting changes. You’ll see these as additional commits on your branch.
Merge queue
GitHub Docs uses a merge queue on themain branch. When your pull request is approved and added to the queue, it is merged automatically once all required checks pass.
After your pull request merges, your changes are automatically deployed to docs.github.com. Deployment can take up to 24 hours. Your source branch is automatically deleted after the pull request closes.