From bc264c61caea53e54a04c3960be3a077cd3cced6 Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Sat, 12 Sep 2026 14:51:02 +1000 Subject: [PATCH] chore: take theme v3.0.0 The Launch control is opt-in from v3.0.0 and nothing is derived from `project.github` any more, so this bump alone removes the dead Launch button: it pointed at QuantEcon/lecture-wasm.notebooks, which does not exist. No launch options are set here, and a comment records that this is deliberate rather than an omission. `site_url` is new. The theme emits the canonical link, `og:url` and an absolute `og:image` only when it is set, and this site is served under a sub-path -- which is exactly the case v3.0.0's base-URL work addresses, so the value carries the sub-path. The licence footer now comes from the theme by default. This repo declares no footer part, so it gains the CC BY-SA notice and the QuantEcon credit with no configuration at all. `short_path.md` loses its `{raw} jupyter` notebook-header block, rewritten out by the theme repo's `scripts/rewrite-raw-blocks.mjs`: mystmd renders no `raw` node, so that block's own source was reaching readers as escaped text under the page title. Co-Authored-By: Claude Opus 5 (1M context) --- lectures/myst.yml | 12 +++++++++++- lectures/short_path.md | 8 -------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/lectures/myst.yml b/lectures/myst.yml index 06e15ba..ea10041 100644 --- a/lectures/myst.yml +++ b/lectures/myst.yml @@ -119,4 +119,14 @@ project: site: # Pinned theme release (see https://github.com/QuantEcon/quantecon-theme.mystmd/releases); # bump the vX.Y.Z in this URL to take a new theme version. - template: https://github.com/QuantEcon/quantecon-theme.mystmd/releases/download/v2.7.0/quantecon-theme.zip + template: https://github.com/QuantEcon/quantecon-theme.mystmd/releases/download/v3.0.0/quantecon-theme.zip + options: + # The site's public URL. The theme emits the canonical link, og:url and an + # absolute og:image only when this is set, and this site is served under a + # sub-path, so the value carries it. + site_url: https://quantecon.github.io/lecture-wasm/ + # No launch options on purpose. From theme v3.0.0 the Launch control is + # opt-in and the notebook repository has to be named here; nothing is + # derived from `project.github` any more. There is no + # QuantEcon/lecture-wasm.notebooks repository, so naming one would put a + # dead link on every page -- which is what the derived value used to do. diff --git a/lectures/short_path.md b/lectures/short_path.md index ba87348..0478082 100644 --- a/lectures/short_path.md +++ b/lectures/short_path.md @@ -12,14 +12,6 @@ kernelspec: --- (short_path)= -```{raw} html - -``` - # Shortest Paths ```{index} single: Dynamic Programming; Shortest Paths