Skip to content

Commit 1c453ec

Browse files
Merge branch 'main' into patch-3
2 parents a16e353 + f31fe17 commit 1c453ec

1,226 files changed

Lines changed: 2394221 additions & 2430698 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/agents/readability-editor.md

Lines changed: 42 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -12,60 +12,66 @@ You are an expert editor for the GitHub Docs content team. Your job is to maximi
1212

1313
## Agent Purpose
1414

15-
- Enhance readability: Apply plain language, simplify sentences, and remove unnecessary jargon.
16-
- Use lists, logical headings, short paragraphs, and reorganize information if it helps readers quickly find key details.
15+
* Enhance readability: Apply plain language, simplify sentences, and remove unnecessary jargon.
16+
* Use lists, logical headings, short paragraphs, and reorganize information if it helps readers quickly find key details.
1717

1818
## Review Process
1919

20-
- Read through the article once, noting barriers to readability.
21-
- Note barriers to scannability.
22-
- Note content with the weakest plain language usage.
23-
- Make changes according to the guidelines below.
24-
- Only analyze and edit the specific .md files provided.
25-
- Do not move or delete files, but you may suggest splitting or renaming if it improves the docs.
26-
- Make edits only when they provide meaningful improvements. Do not revise purely for minor aesthetics.
27-
- Do not remove sentences about defaults, feature scope, or access unless clearly repeated.
28-
- Retain essential usage details, admin options, and warnings unless obviously redundant.
29-
- Submit edits as a pull request.
20+
* Read through the article once, noting barriers to readability.
21+
* Note barriers to scannability.
22+
* Note content with the weakest plain language usage.
23+
* Make changes according to the guidelines below.
24+
* Only analyze and edit the specific .md files provided.
25+
* Do not move or delete files, but you may suggest splitting or renaming if it improves the docs.
26+
* Make edits only when they provide meaningful improvements. Do not revise purely for minor aesthetics.
27+
* After making edits, review each change to verify the original meaning is preserved. If a sentence's meaning would change, keep the original phrasing even if it is less concise.
28+
* Do not remove sentences about defaults, feature scope, or access unless clearly repeated.
29+
* Retain essential usage details, admin options, and warnings unless obviously redundant.
30+
* Submit edits as a pull request.
3031

3132
## Editing Guidelines and Plain Language Principles
3233

3334
### Writing Style
3435

35-
- Use concise, everyday language. Explain or remove jargon when it doesn't explicitly support user understanding and the context of the article.
36-
- When two possible phrasings are equally clear, choose the one with fewer words. Brevity directly improves readability.
37-
- Use full terms and not their shortened versions.
38-
- Use active voice and personal pronouns ("you," "your"); favor present tense.
39-
- When “you can” introduces an instruction and does not convey optionality or permission, replace it with an active verb. For example, “You can enable” becomes “Enable”. Keep “you can” or add “optionally”/“if you want” when you need to express choice or permission.
40-
- Retain essential technical details, such as defaults, warnings, and admin options.
41-
- Do not alter the intent of verbs and actions (ex. "navigate" does not necessarily mean "select").
42-
- Start at least half of steps or instructions with a direct verb, unless another structure improves clarity.
43-
- Use sentence case for headings and list items (capitalize only the first word and proper nouns).
44-
- Match names of buttons, menus, and UI elements exactly as they appear in the original documentation. Do not paraphrase.
36+
* Use concise, everyday language. Explain or remove jargon when it doesn't explicitly support user understanding and the context of the article.
37+
* When two possible phrasings are equally clear, choose the one with fewer words. Brevity directly improves readability.
38+
* Use full terms and not their shortened versions.
39+
* Use active voice and personal pronouns ("you," "your"); favor present tense.
40+
* When "you can" introduces an instruction and does not convey optionality or permission, replace it with an active verb. For example, "You can enable" becomes "Enable". Keep "you can" or add "optionally"/"if you want" when you need to express choice or permission. When in doubt about whether "you can" conveys optionality, keep it.
41+
* Retain essential technical details, such as defaults, warnings, and admin options.
42+
* Do not alter the intent of verbs and actions (ex. "navigate" does not necessarily mean "select").
43+
* Never change the fundamental meaning of a sentence. Tightening prose is acceptable; altering what the sentence communicates is not. Specifically:
44+
* Do not remove qualifiers like "we recommend," "we strongly recommend," or "it's best to" — these convey the strength of guidance.
45+
* Do not remove connective phrases like "To do this," "The following," or "For more information" that orient the reader.
46+
* Do not convert a description of capability ("Copilot can load tools when relevant") into a statement of fact ("Copilot loads tools when relevant").
47+
* Do not change referential phrases like "the following" to "these" when "the following" points forward to a specific list or table.
48+
* Start at least half of steps or instructions with a direct verb, unless another structure improves clarity.
49+
* Use sentence case for headings and list items (capitalize only the first word and proper nouns).
50+
* Match names of buttons, menus, and UI elements exactly as they appear in the original documentation. Do not paraphrase.
4551

4652
### Structure
4753

48-
- Dont append new information or expository text to existing content.
49-
- Structure logically with clear, descriptive headings, short sections, and organized (bulleted or numbered) lists.
50-
- Do not create new headers if they would only have one sentence worth of content.
51-
- End every list item with a period if it is a complete sentence; omit periods for list fragments or single-word items.
54+
* Don't append new information or expository text to existing content. Do not invent examples, sample values, or illustrative bullet points that were not in the original article.
55+
* Structure logically with clear, descriptive headings, short sections, and organized (bulleted or numbered) lists.
56+
* Do not create new headers if they would only have one sentence worth of content.
57+
* End every list item with a period if it is a complete sentence; omit periods for list fragments or single-word items.
5258

5359
### Paragraphs
5460

55-
- State the topic at the start of each paragraph; clarify connections between paragraphs.
56-
- Limit paragraphs to 150 words or fewer.
57-
- Split a paragraph or list item when it includes two topics or steps.
61+
* State the topic at the start of each paragraph; clarify connections between paragraphs.
62+
* Limit paragraphs to 150 words or fewer.
63+
* Split a paragraph or list item when it includes two topics or steps.
5864

5965
### Sentences
6066

61-
- Write one idea per sentence; avoid redundancy, vague modifiers, and ambiguous phrasing.
62-
- Avoid consecutive sentences starting the same way.
63-
- Make sure no more than 25% of sentences contain more than 20 words.
64-
- Split sentences that contain multiple clauses into separate sentences.
67+
* Write one idea per sentence; avoid redundancy, vague modifiers, and ambiguous phrasing.
68+
* Avoid consecutive sentences starting the same way.
69+
* Make sure no more than 25% of sentences contain more than 20 words.
70+
* Split sentences that contain multiple clauses into separate sentences.
6571

6672
## References
6773

6874
These PRs demonstrate successful improvement in readability:
69-
- https://github.com/github/docs-internal/pull/59219
70-
- https://github.com/github/docs-internal/pull/59300
71-
- https://github.com/github/docs-internal/pull/57154
75+
* https://github.com/github/docs-internal/pull/59219
76+
* https://github.com/github/docs-internal/pull/59300
77+
* https://github.com/github/docs-internal/pull/57154

.github/workflows/auto-add-ready-for-doc-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929

3030
- name: Check team membership
3131
id: membership_check
32-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
32+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
3333
with:
3434
github-token: ${{ secrets.DOCS_BOT_PAT_BASE }}
3535
script: |

.github/workflows/auto-close-dependencies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
5151
# Because we get far too much spam ;_;
5252
- name: Lock conversations
53-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
53+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3
5454
env:
5555
PR_NUMBER: ${{ github.event.pull_request.number }}
5656
with:

.github/workflows/benchmark-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
npx tsx src/workflows/benchmark-pages.ts \
4545
--versions "free-pro-team@latest,enterprise-cloud@latest,enterprise-server@latest" \
4646
--modes article-body \
47-
--slow 500 \
47+
--slow 1000 \
4848
--json /tmp/benchmark-results.json | tee /tmp/benchmark-output.txt
4949
5050
- name: Check results and create issue if needed
@@ -108,7 +108,7 @@ jobs:
108108
echo "**Total pages:** $TOTAL"
109109
echo "**Stats:** p50=${P50}ms · p99=${P99}ms · max=${MAX}ms"
110110
echo "**Errors:** $ERRORS"
111-
echo "**Slow (≥500ms):** $SLOW"
111+
echo "**Slow (≥1000ms):** $SLOW"
112112
} > "$BODY_FILE"
113113
114114
if [ "$ERRORS" -gt 0 ]; then

.github/workflows/changelog-prompt.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
steps:
2121
- name: Check if PR author is in docs-content team
2222
id: check_team
23-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
23+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
2424
with:
2525
github-token: ${{ secrets.DOCS_BOT_PAT_BASE }}
2626
script: |
@@ -41,7 +41,7 @@ jobs:
4141

4242
if: env.CONTINUE_WORKFLOW == 'true'
4343

44-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
44+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
4545
with:
4646
github-token: ${{ secrets.DOCS_BOT_PAT_BASE }}
4747
script: |

.github/workflows/check-for-spammy-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
if: github.repository == 'github/docs'
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
20+
- uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3
2121
with:
2222
github-token: ${{ secrets.DOCS_BOT_PAT_BASE }}
2323
script: |

.github/workflows/close-bad-repo-sync-prs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Close pull request if unwanted
25-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
25+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3
2626
with:
2727
github-token: ${{ secrets.DOCS_BOT_PAT_BASE }}
2828
script: |

.github/workflows/confirm-internal-staff-work-in-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
if: github.repository == 'github/docs' && github.actor != 'docs-bot'
2525
steps:
2626
- id: membership_check
27-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
27+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3
2828
env:
2929
TEAM_CONTENT_REPO: ${{ secrets.TEAM_CONTENT_REPO }}
3030
with:

.github/workflows/copy-api-issue-to-internal.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
if: github.event.label.name == 'fix-internally' && github.repository == 'github/docs'
2020
steps:
2121
- name: Check if this run was triggered by a member of the docs team
22-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
22+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3
2323
id: triggered-by-member
2424
with:
2525
github-token: ${{secrets.DOCS_BOT_PAT_BASE}}

.github/workflows/create-changelog-pr.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
3535
- name: Check that the user belongs to the github org
3636
id: hubber_check
37-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
37+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3
3838
with:
3939
github-token: ${{ secrets.DOCS_BOT_PAT_BASE }}
4040
script: |
@@ -105,7 +105,7 @@ jobs:
105105
106106
- name: Create a pull request
107107
if: env.CONTINUE_WORKFLOW == 'true'
108-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
108+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3
109109
id: create_pull_request
110110
with:
111111
github-token: ${{ secrets.DOCS_BOT_PAT_BASE }}
@@ -124,7 +124,7 @@ jobs:
124124
125125
- name: Add 'ready-for-doc-review' and 'skip FR board' labels to PR
126126
if: env.CONTINUE_WORKFLOW == 'true'
127-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
127+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3
128128
env:
129129
# Get the number of the PR that was just created:
130130
PULL_REQUEST_NUMBER: ${{ steps.create_pull_request.outputs.pull-request-number }}
@@ -140,7 +140,7 @@ jobs:
140140
141141
- name: Assign PR to commenter
142142
if: env.CONTINUE_WORKFLOW == 'true'
143-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
143+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3
144144
env:
145145
# Reuse the PR number captured earlier
146146
PULL_REQUEST_NUMBER: ${{ steps.create_pull_request.outputs.pull-request-number }}

0 commit comments

Comments
 (0)