ammachado commented on PR #1740: URL: https://github.com/apache/camel-website/pull/1740#issuecomment-5635938010
Addressed all open review feedback in 2407cd34: **@Croway:** **1) Menu disappears on `/community/books/`** The community subpages (Books, Team, Articles, etc.) are Hugo pages, not Antora docs, so they never had the Antora left nav. Added a new `layouts/community/single.html` with a left sidebar that lists all community sibling pages, styled to match the Antora nav (highlighted current page, same font/spacing). Hidden on mobile via the 1025px breakpoint. **2) CONTENTS sidebar spacing** Replaced all fixed `max-width` caps with `clamp(1340px, 85vw, 1800px)`. The doc grid, static pages, and the new community layout now scale fluidly with the viewport. On a standard 1920px monitor, the content area is ~1632px instead of the old 1340px cap. On ultra-wide displays, it caps at 1800px for readability. **@claudio4j:** **3) Component Reference link opens unstyled page** The "Browse components" link points to `/components/latest/`, which relies on an Apache `.htaccess` redirect. Netlify ignores `.htaccess`, so the preview showed a raw placeholder. Added a `static/_redirects` file with `/components/latest/* /components/4.22.x/:splat 302` so the Netlify preview resolves correctly. **4) Property names column too narrow** Removed the `width: 25%` constraint and changed `overflow-wrap: anywhere` to `break-word` in `doc.css`. Property names like `camel.main.additionalSensitiveKeys` now get the space they need instead of breaking across 8+ lines. **5) Tables not rendered equally (opentelemetry vs activemq6)** This is an upstream content inconsistency in `apache/camel`. Only 3 component pages use `**bold**` (renders as `<strong>`) for property names: `main.html`, `properties-component.html`, and `telegram-component.html`. The other ~150 pages use backticks (renders as `<code>` with background). The fix needs to happen in the upstream AsciiDoc tooling that generates the configuration option tables for those 3 components. **@davsclaus:** **6) Tables crammed, empty space to the right** Addressed by both the table column fix (#4) and the responsive grid (#2). Tables now have more room, and the content area scales with viewport width. 🤖 Generated with [Claude Code](https://claude.ai/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
