From a98368ee7682d601e7fa7d9779348c2dd793a4f8 Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Fri, 11 Sep 2026 17:31:38 +1000 Subject: [PATCH] Drop nb_repository_url, which points at a notebooks repo that does not exist lectures/_config.yml set nb_repository_url to https://github.com/QuantEcon/lecture-python.zh-cn.notebooks, which returns 404. quantecon-book-theme renders its Launch button whenever the key is set, so every page linked Colab to the missing repository. Leaves the comment the lecture-python-programming editions use for the same case; the theme skips notebook-launch links when the key is unset. Co-Authored-By: Claude Opus 5 (1M context) --- lectures/_config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lectures/_config.yml b/lectures/_config.yml index 29861625..13d3ee95 100644 --- a/lectures/_config.yml +++ b/lectures/_config.yml @@ -82,7 +82,8 @@ sphinx: header_organisation_url: https://quantecon.org header_organisation: QuantEcon repository_url: https://github.com/QuantEcon/lecture-python.myst - nb_repository_url: https://github.com/QuantEcon/lecture-python.zh-cn.notebooks + # nb_repository_url omitted deliberately: no notebooks repo exists for this + # edition yet, and the theme skips notebook-launch links when it is unset twitter: quantecon twitter_logo_url: https://assets.quantecon.org/img/qe-twitter-logo.png og_logo_url: https://assets.quantecon.org/img/qe-og-logo.png