From 3fe7633898a7bf520a39ecc78467ba09da744b45 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 27 Jan 2026 15:43:24 +0000 Subject: [PATCH] Fix docs content loading by vendoring marked and highlight.js The documentation system relied on external CDNs for `marked` and `highlight.js`. This caused content loading failures ("Error loading content") when CDNs were blocked or unreachable. This change: - Adds `marked` and `highlight.js` to `package.json` dependencies. - Vendors `marked.min.js` (from UMD build) and `highlight.min.js` (downloaded) into `vendor/`. - Updates `index.html` to load these libraries from local `vendor/` path instead of CDN. Verified with Playwright script ensuring docs content loads successfully. Co-authored-by: PR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> --- index.html | 4 +- package-lock.json | 23 + package.json | 2 + vendor/highlight.min.js | 1244 +++++++++++++++++++++++++++++++++++++++ vendor/marked.min.js | 74 +++ 5 files changed, 1345 insertions(+), 2 deletions(-) create mode 100644 vendor/highlight.min.js create mode 100644 vendor/marked.min.js diff --git a/index.html b/index.html index 791e024f..43e5c196 100644 --- a/index.html +++ b/index.html @@ -429,8 +429,8 @@ - - + +