From f60ef483a48baf925ea018780d6b2a44efe5b60c Mon Sep 17 00:00:00 2001 From: James Devine Date: Mon, 22 Jun 2026 17:31:10 +0100 Subject: [PATCH] docs(site): fix slide deck navigation under base path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The deployed deck used history routing with an absolute base, so advancing slides appended the base to the URL (…/ado-aw/slides/ado-aw/slides/4). Switch to relative asset base (--base ./) and hash routing (routerMode: hash) so navigation stays within /ado-aw/slides/#/N and deep-link reloads work on static GitHub Pages hosting. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- site/slides/package.json | 2 +- site/slides/slides.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/site/slides/package.json b/site/slides/package.json index 052ed722..7bcfcb8e 100644 --- a/site/slides/package.json +++ b/site/slides/package.json @@ -6,7 +6,7 @@ "description": "Short intro deck for ado-aw — Continuous AI for Azure DevOps", "scripts": { "dev": "slidev --open", - "build": "slidev build --base /ado-aw/slides/ --out ../public/slides", + "build": "slidev build --base ./ --out ../public/slides", "export": "slidev export --wait 1500 --wait-until networkidle --output dist/ado-aw-intro.pdf" }, "dependencies": { diff --git a/site/slides/slides.md b/site/slides/slides.md index 403c56e8..0782017f 100644 --- a/site/slides/slides.md +++ b/site/slides/slides.md @@ -6,6 +6,7 @@ info: | CI/CD is the rung we trust. Continuous AI is the next one. class: text-center colorSchema: dark +routerMode: hash highlighter: shiki transition: slide-left mdc: true