Repository navigation
Conversation
The workflow added next runs it as an action, so the script, its tests and the guide change come back out. Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Mechanical: sentence_per_line.py --fix content/blog from madolson/sentence-per-line v1.0.0. Only whitespace changes, plus > on new blockquote lines. Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
This branch has not been deployed
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Rule 1 of the blog guide asks for one sentence per line, so a review suggestion can target a single sentence. This PR splits the 1,007 lines that hold more than one sentence across 66 existing posts, and adds a workflow that runs madolson/sentence-per-line on blog PRs and fails when a changed post has such a line. The rewrite changes only whitespace, and the built site is identical apart from whitespace.
AI generated details
The rewrite
f4e852a is mechanical:
sentence_per_line.py --fix content/blogfrom the action at v1.0.0.>at the start of new blockquote lines. A second--fixchanges nothing, and a check afterward is clean.atom.xmlandsearch_index.en.js) match once whitespace is collapsed. Every<pre>,<code>and<textarea>block is byte-identical.2026-11-24-valkey-large-object-module(draft = true), renders the same under markdown-it-py, and its 58 code blocks are byte-identical.> **Wait! How do both ...?**, where the bold now spans two lines and still renders bold. Bold lead-ins such as**Keep memory usage small.**are split from the sentence after them, as the rule says.The check
scope: changed-fileschecks every line of each post a PR adds or changes. Posts a PR doesn't touch are skipped, so a post that slips in without the check doesn't fail unrelated PRs. A throwaway PR (#43) that added a two-sentence line failed, with an annotation on that line. On this PR, the check passes on all 66 rewritten posts.GitHub shows at most 10 annotations of each level per step. The job summary lists every violation.
Decisions for the reviewer
sedone-liner. Proposal: a follow-up pointing it at the action's CLI, now that authors need a fixer.This was generated by AI but verified, with love, by a human.