From 2322dd4eddf6aa272abacd615fce9d1b12582410 Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Tue, 7 Jul 2026 16:32:38 +1000 Subject: [PATCH] Set interim site base URL to the github.io Pages default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The DP lectures are served at https://quantecon.github.io/lecture-dp/, but _config.yml still pointed html.baseurl (and the tojupyter URL paths) at https://dp.quantecon.org/ — which now serves a separate book landing page. That mismatch bakes dp.quantecon.org self-links and downloaded-notebook URLs into the build, all of which 404. Point baseurl, tojupyter_urlpath, and tojupyter_image_urlpath at the current github.io host so self-links and notebook URLs resolve. Interim setting until the final custom URL is decided in #2 — revisit then. Co-Authored-By: Claude Opus 4.8 (1M context) --- lectures/_config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lectures/_config.yml b/lectures/_config.yml index 692737b..cdd256e 100644 --- a/lectures/_config.yml +++ b/lectures/_config.yml @@ -25,7 +25,7 @@ bibtex_bibfiles: - _static/quant-econ.bib html: - baseurl: https://dp.quantecon.org/ + baseurl: https://quantecon.github.io/lecture-dp/ latex: latex_documents: @@ -117,8 +117,8 @@ sphinx: index_toc.md: intro.md tojupyter_static_file_path: ["source/_static", "_static"] tojupyter_target_html: true - tojupyter_urlpath: "https://dp.quantecon.org/" - tojupyter_image_urlpath: "https://dp.quantecon.org/_static/" + tojupyter_urlpath: "https://quantecon.github.io/lecture-dp/" + tojupyter_image_urlpath: "https://quantecon.github.io/lecture-dp/_static/" tojupyter_lang_synonyms: ["ipython", "ipython3", "python"] tojupyter_kernels: python3: