Skip to content

Drop comments that restate the code - #54

Merged
PianoNic merged 1 commit into
mainfrom
refactor/53_CommentSweep
Aug 12, 2026
Merged

Drop comments that restate the code#54
PianoNic merged 1 commit into
mainfrom
refactor/53_CommentSweep

Conversation

@PianoNic

Copy link
Copy Markdown
Member

42 comment lines across 10 files, all of them repeating the declaration underneath or labelling a section.

Kept: why the Pages Function only handles the bare / route, why postbuild removes the root index.html so the _redirects rule applies, and the preloaded Inter font face.

The stripper tracks /* */ state, so the universal selectors in styles.scss (* {, *::before, *::after) were not mistaken for comment continuations. Verified with a full bun run build, postbuild included.

Closes #53

Remove doc comments repeating the member below them and the SCSS section
banners, keeping the notes on the Cloudflare route function, the postbuild
root-index removal, and the preloaded font face.
@PianoNic PianoNic added the refactor Code refactor label Aug 12, 2026
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying schulywebsite with  Cloudflare Pages  Cloudflare Pages

Latest commit: 493e245
Status: ✅  Deploy successful!
Preview URL: https://92f773ae.schulywebsite.pages.dev
Branch Preview URL: https://refactor-53-commentsweep.schulywebsite.pages.dev

View logs

@PianoNic
PianoNic merged commit eb51a5e into main Aug 12, 2026
2 checks passed
@PianoNic
PianoNic deleted the refactor/53_CommentSweep branch August 12, 2026 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Code refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Comment sweep: drop comments that restate the code

1 participant