From 07bd615b040c41e75ac26c3eecd6d878a5ee11de Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Sat, 7 Mar 2026 16:00:55 +1100 Subject: [PATCH 1/2] Repin quantecon-book-theme to 0.17.1 Pin quantecon-book-theme back to 0.17.1 due to dark theme leakage in 0.18. See: https://github.com/QuantEcon/quantecon-book-theme/issues/372 --- environment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment.yml b/environment.yml index 40ee8eae4..179d50756 100644 --- a/environment.yml +++ b/environment.yml @@ -7,7 +7,7 @@ dependencies: - pip - pip: - jupyter-book>=1.0.4post1,<2.0 - - quantecon-book-theme==0.18.0 + - quantecon-book-theme==0.17.1 - sphinx-tojupyter==0.6.0 - sphinxext-rediraffe==0.3.0 - sphinx-exercise==1.2.1 From 86dbfbd09b3f6f34f70f93de85ddf2b69399793b Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Sat, 7 Mar 2026 16:21:17 +1100 Subject: [PATCH 2/2] Pin quantecon-book-theme to 0.16.0 and remove sticky_contents The dark code block background issue was introduced in v0.17.0 (color scheme system overhaul), not v0.18.0. Pin back to 0.16.0 which was the last working version and remove sticky_contents (a 0.17.0 feature). See: https://github.com/QuantEcon/quantecon-book-theme/issues/372 --- environment.yml | 2 +- lectures/_config.yml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/environment.yml b/environment.yml index 179d50756..8e9f8cbbc 100644 --- a/environment.yml +++ b/environment.yml @@ -7,7 +7,7 @@ dependencies: - pip - pip: - jupyter-book>=1.0.4post1,<2.0 - - quantecon-book-theme==0.17.1 + - quantecon-book-theme==0.16.0 - sphinx-tojupyter==0.6.0 - sphinxext-rediraffe==0.3.0 - sphinx-exercise==1.2.1 diff --git a/lectures/_config.yml b/lectures/_config.yml index cce72be01..62c3539fb 100644 --- a/lectures/_config.yml +++ b/lectures/_config.yml @@ -91,7 +91,6 @@ sphinx: keywords: Python, QuantEcon, Quantitative Economics, Economics, Sloan, Alfred P. Sloan Foundation, Tom J. Sargent, John Stachurski analytics: google_analytics_id: G-J0SMYR4SG3 - sticky_contents: true launch_buttons: colab_url : https://colab.research.google.com intersphinx_mapping: