Repository navigation
docs(docs/admin/templates): reformat to one sentence per line - #30699
Merged
Merged
Conversation
Put each sentence on its own source line so future edits produce single-sentence diffs, as the docs style guide requires. Rendered output is unchanged except for 3 lines that contained an em or en dash. The repo forbids those characters and lint/emdash flags every reflowed line that has one, so they were reworded with parentheses, separate sentences, or a colon. Assisted-by: AI
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reformats the template docs under
docs/admin/templatesto one sentence per line, as the docs style guide requires. Hard-wrapped paragraphs are unwrapped and lines holding several sentences are split, so a later edit to one sentence shows up as a one-line diff.Apart from the exception below, only whitespace inside paragraphs and list items changes, and the rendered pages are the same. Comparing the changed files against
mainword for word, ignoring whitespace and blockquote>markers, finds differences only on the reworded lines.git diff --word-diffis easier to read than the line diff.4 lines that already contained an em or en dash were reworded by hand, because
lint/emdashtreats every reflowed line as newly added. Each uses a parenthetical, a separate sentence, or a colon after a lead-in. Dashes on lines the reflow did not touch are left alone.Applied with an in-progress formatter, limited to pages listed in
docs/manifest.jsonand excluding generated reference docs. This is one of a batch of PRs that split the docs by area (38 files changed, 934 insertions(+), 1556 deletions(-)).🤖 Built with AI assistance.