From a56610646ea0062441c31979ae3d67cb49f35597 Mon Sep 17 00:00:00 2001 From: mmcky Date: Mon, 20 Oct 2025 14:37:43 +1100 Subject: [PATCH] Update sphinx-proof to version 0.3.0 - Updated environment.yml to use sphinx-proof==0.3.0 - Updated environment-cn.yml to use sphinx-proof==0.3.0 - Added language: zh_CN configuration for Chinese language support - Fixed duplicate intersphinx_mapping key in _config.yml --- environment-cn.yml | 2 +- environment.yml | 2 +- lectures/_config.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/environment-cn.yml b/environment-cn.yml index e253e397..3a5d96a4 100644 --- a/environment-cn.yml +++ b/environment-cn.yml @@ -13,7 +13,7 @@ dependencies: - sphinxext-rediraffe==0.2.7 - sphinx_reredirects==0.1.4 - sphinx-exercise==1.0.1 - - sphinx-proof==0.2.1 + - sphinx-proof==0.3.0 - ghp-import==1.1.0 - sphinxcontrib-youtube==1.4.1 #Version 1.3.0 is required as quantecon-book-theme is only compatible with sphinx<=5 - sphinx-togglebutton==0.3.2 diff --git a/environment.yml b/environment.yml index 28d6a96f..b427f1b9 100644 --- a/environment.yml +++ b/environment.yml @@ -11,7 +11,7 @@ dependencies: - sphinx-tojupyter==0.3.1 - sphinxext-rediraffe==0.2.7 - sphinx-exercise==1.0.1 - - sphinx-proof==0.2.1 + - sphinx-proof==0.3.0 - sphinxcontrib-youtube==1.4.1 - sphinx-togglebutton==0.3.2 - sphinx-reredirects==0.1.4 \ No newline at end of file diff --git a/lectures/_config.yml b/lectures/_config.yml index a17b4c9c..b6ef10e8 100644 --- a/lectures/_config.yml +++ b/lectures/_config.yml @@ -34,6 +34,7 @@ latex: sphinx: extra_extensions: [sphinx_multitoc_numbering, sphinxext.rediraffe, sphinx_tojupyter, sphinxcontrib.youtube, sphinx.ext.todo, sphinx_exercise, sphinx_proof, sphinx_togglebutton, sphinx.ext.intersphinx, sphinx_reredirects] config: + language: zh_CN # false-positive links linkcheck_ignore: ['https://online.stat.psu.edu/stat415/book/export/html/834'] bibtex_reference_style: author_year @@ -90,7 +91,6 @@ sphinx: google_analytics_id: G-J0SMYR4SG3 launch_buttons: colab_url : https://colab.research.google.com - intersphinx_mapping: intersphinx_mapping: intermediate: - https://python.quantecon.org/