Refine the editorial chapter test#545
Merged
Merged
Conversation
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.
Summary
Rendering changes
The renderer inserts the decorative quote immediately before the paragraph from which it was taken. On wide screens it floats inside the right side of the reading column, so the paragraph's lines wrap around it. At
560pxand below it becomes a full-width block above the paragraph.The new inline classifier accepts lowercase Phi words, multiword Phi passages, and a final period. Every token must occur in the canonical lexicon. Chapter 2 therefore receives 21 styled spans, including
lo mia wiso wisola., while its seven repository paths remain ordinary<code>elements.Phi spans inherit the surrounding font size. Their backgrounds use
#e1e6dbin the light theme and#3a443ain the dark theme, with the site's ink color for the text. The5pxcorners and compact padding follow the shape indocuments/format.pngwithout adding that untracked reference image to the commit.Verification
python3 scripts/build_site.pypython3 scripts/validate_examples.py(1,275 entries, 0 errors, 0 warnings)python3 scripts/test_vocabulary_schema.py(22 tests)python3 scripts/test_name_forms.py(20 tests)python3 scripts/test_content_vocabulary_decisions.py(8 tests)python3 -m py_compile scripts/build_site.pygit diff --cached --check790.39pxreading column and the source paragraph's line boxes ended to its left.338pxinline block, the Phi span and its surrounding prose both computed to22.464px, and document width remained exactly390px.book/02_what_a_refusal_is.mdretained its original Git object hash,cff28d6595bce108e9d41f4813c7cdcf6dc41be9.