Repository navigation
Fix hydration error #418, sideways scroll on 46 pages, breadcrumb URLs, footer STEM link - #287
Merged
Merged
Conversation
A <p> on its own line in MDX takes flow children, so it wrapped fenced code blocks (172, mostly in <details>), paragraphs (114) and two tables. That is invalid HTML: the minifier and the browser closed the <p> early, React's tree still had the block inside, and every one of those 168 pages failed hydration (#418) and re-rendered on the client. The wrapper lines are removed; the content is unchanged. EN and CS. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- Image boxes on 23 pages (EN + CS) had a fixed width and height (500, 376, 250 or 600 px), wider than a phone. They now use maxWidth and let the image keep its own aspect ratio: same size from 1,440 px up, fitted to its column below that. - Homepage grids: minmax(0, 1fr) tracks and card images capped at 100 % of the card, so the image min-content width no longer widens the page (1,187 px at a 1,024 px viewport, 355 px at 320). The four desktop columns are now equal. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The theme listed sidebar hrefs without the trailing slash although every page is served (and canonical) at /x/. A small override of DocBreadcrumbs/StructuredData normalises them like the TechArticle url. Both now treat only a letter-led suffix as a file extension, so a version-number slug such as bmeters-rfm-tx1.1 gets its slash too. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The strip is HARDWARIO.com, Docs, Engineering, Studio, Academy, STEM with the self-link omitted; docs had no STEM link and no recorded exemption. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
website-hardwario-docs | cdfbdb4 | Commit Preview URL Branch Preview URL |
Oct 28 2026, 08:32 AM |
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
Fixes found in the website-admin infrastructure review and health check (owner approved the fix pass). Six commits, each one self-contained:
<p>on its own line in MDX takes flow children, so it wrapped fenced code blocks (172, mostly inside<details>), paragraphs (114) and two tables. That is invalid HTML: the minifier and the browser close the<p>early, React's tree still has the block inside it, and hydration fails, so the page is re-rendered on the client. The wrapper lines are removed; the content is unchanged (the visible article text of all 992 pages is identical before and after, except the dash rewrites in commit 6).maxWidthand keep the image's own aspect ratio (same size from 1,440 px up; below that the image fits its column instead of spilling out of it). Homepage grids useminmax(0, 1fr)tracks and card images are capped at the card width, so the page is no longer 1,187 px wide at a 1,024 px viewport or 355 px at 320; the four desktop columns are now equal width.DocBreadcrumbs/StructuredData). The TechArticleurlno longer drops the slash on a version-number slug (bmeters-rfm-tx1.1).llms.txtrewritten (house rule: no em dash, no spaced hyphen as a sentence dash).Verification on local production builds (both locales):
/tower/firmware-sdk/how-to/how-to-gpio-pins/,/tower/hardware-modules/about-split-module/,/chester/supported-devices/modbus/orno-or-we-516/).scripts/overflow-check.py(website-admin) at 320/390/768/1024 px: 0 pages with sideways scroll (before: 46).npm run verify:i18nunchanged,npm run buildclean.Not touched: on a 404 page the navbar's current-product label (
src/theme/NavbarItem/DropdownNavbarItem) renders on the client but not in the prebuilt 404.html, which also logs #418. It only affects 404s.🤖 Generated with Claude Code