Skip to content

Require a complete cover credit; check output under the build's base path - #104

Merged
bits-bytes-nn merged 1 commit into
mainfrom
review-r11
Oct 16, 2026
Merged

bits-bytes-nn merged 1 commit into
mainfrom
review-r11

Conversation

@bits-bytes-nn

Copy link
Copy Markdown
Owner

Second round of adversarial review.

  • script/check-plugin-output.rb: a _data/covers.yml entry with a blank or misspelt title, credit or url passed, and the page shipped an empty credit link. It now needs all three. Verified on a scratch copy (titel: for language-models.jpg fails 17 posts).
  • script/check-plugin-output.rb read the site with an empty base path while CI builds with the Pages one, so its translation-listing and image-size checks matched nothing under a non-empty base path. It now takes BASE_PATH when set, and the workflow passes it. Verified: with | listed removed from _includes/category-posts.html and --baseurl /r11, the check was silent before and now reports the listed translations. Today's base path is empty, so this was latent.
  • Print stylesheet: with the dark theme saved, Chrome printed the page margins near-black; color-scheme: light is now !important in print.

No change to _data/post_conventions.yml and no new lint rule.

Checks: all five gates pass on a fresh build.

…path

check-plugin-output.rb took an entry with a blank or misspelt title, credit
or url as a credit, and the page shipped an empty link. It also read the
site with no base path, so under a Pages base path its link and image checks
matched nothing; CI now passes BASE_PATH to it as it does to the build.

Printing in dark mode left the page margins near-black: the dark rule's
color-scheme is as specific and loads later than the print one.
@bits-bytes-nn
bits-bytes-nn merged commit 37b051e into main Oct 16, 2026
3 checks passed
@bits-bytes-nn
bits-bytes-nn deleted the review-r11 branch October 16, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant