From b315f813933e1ffd81fb665dbbb54961a756d7ec Mon Sep 17 00:00:00 2001 From: keirsalterego Date: Sun, 24 May 2026 00:18:11 +0530 Subject: [PATCH 1/2] fix(build): pin mdBook to v0.5.3 + remove duplicate README heading MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Three deploy bugs the first Cloudflare render exposed: 1. Sidebar rendered ~30px wide with chapter titles wrapping after each character. Cause: scripts/build.sh pinned v0.4.40, but every CSS override in theme/css/ targets v0.5-only selectors (#mdbook-sidebar, #mdbook-sidebar-toggle-anchor, the nav-wide-wrapper layout). v0.4.x uses a different chrome DOM so our overrides did not match. Result: default sidebar width collapsed because :root --sidebar-target-width was set against v0.5 expectations. 2. GitHub icon missing from the top-right menu bar. v0.4 silently drops the `fab-github` icon name; v0.5 accepts it and renders the Font Awesome SVG. 3. README.md on main still had two H1s: "# Vyrox Security" then "# Your AI Security Copilot" with the project tagline gone. The fixup commit on docs/senior-rewrite-foundation was force- pushed AFTER PR #8 merged, so the merge landed the broken version. Apply the same fixup directly on this branch so the site renders one H1 plus the blockquote tagline. Changes: - scripts/build.sh: MDBOOK_VERSION default bumped v0.4.40 → v0.5.3. Matches the version we tested with locally. v0.5.3 binary is on GitHub releases (confirmed via curl); the existing tarball URL pattern resolves without change. - DEPLOY_CLOUDFLARE.md: env var table updated to v0.5.3. - README.md: drop the second "Your AI Security Copilot" H1 and restore the AI-security-copilot tagline as a blockquote. Verified locally with mdbook v0.5.3: - on every page -