From 6697a6400f19d0383134d7644a9eef3a0b97e64f Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 16 Sep 2025 14:37:58 +0000 Subject: [PATCH] Fix: Use relative paths for assets and components Corrected asset paths across the site to be relative instead of absolute. This ensures that CSS, JavaScript, and HTML components load correctly when the site is hosted in a subdirectory, such as on GitHub Pages. - Modified `docs/script.js` to fetch navigation components using relative paths. - Updated all HTML files in subdirectories (`features`, `games`, `guides`, `tools`) to link to the main stylesheet and script using relative paths (`../`). --- docs/features/browser-apis.html | 4 ++-- docs/features/clipboard.html | 4 ++-- docs/features/drag-drop.html | 4 ++-- docs/features/filter-search.html | 4 ++-- docs/features/forms.html | 4 ++-- docs/features/json-viewer.html | 4 ++-- docs/features/live-js-runner.html | 4 ++-- docs/features/markdown-converter.html | 4 ++-- docs/features/mermaid-diagrams.html | 4 ++-- docs/features/notes-app.html | 4 ++-- docs/features/page-state.html | 4 ++-- docs/features/spa-routing.html | 4 ++-- docs/features/theme-switcher.html | 4 ++-- docs/games/clicker.html | 4 ++-- docs/games/drag-drop-puzzle.html | 4 ++-- docs/games/index.html | 4 ++-- docs/games/maze.html | 4 ++-- docs/games/memory-match.html | 4 ++-- docs/games/number-guessing.html | 4 ++-- docs/games/rock-paper-scissors.html | 4 ++-- docs/games/simon-says.html | 4 ++-- docs/games/tic-tac-toe.html | 4 ++-- docs/games/typing-speed.html | 4 ++-- docs/games/wordle.html | 4 ++-- docs/guides/best-practices.html | 4 ++-- docs/guides/markdown-usage.html | 4 ++-- docs/guides/resources.html | 4 ++-- docs/script.js | 6 +++--- docs/tools/tech-tools.html | 4 ++-- 29 files changed, 59 insertions(+), 59 deletions(-) diff --git a/docs/features/browser-apis.html b/docs/features/browser-apis.html index 4a103da..8c52951 100644 --- a/docs/features/browser-apis.html +++ b/docs/features/browser-apis.html @@ -4,7 +4,7 @@