From c424abe74814c7dfc7fd97ff1a7aea025eff0ee6 Mon Sep 17 00:00:00 2001 From: mmcky Date: Mon, 11 Aug 2025 16:45:25 +1000 Subject: [PATCH 1/6] ENH: test enable_RTL in qe_theme --- environment.yml | 2 +- lectures/_config.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/environment.yml b/environment.yml index b41712b..e7cb4ea 100644 --- a/environment.yml +++ b/environment.yml @@ -7,7 +7,7 @@ dependencies: - pip - pip: - jupyter-book==1.0.3 - - quantecon-book-theme==0.8.2 + - https://github.com/QuantEcon/quantecon-book-theme@copilot/fix-291 - sphinx-tojupyter==0.3.0 - sphinxext-rediraffe==0.2.7 - sphinx-reredirects==0.1.4 diff --git a/lectures/_config.yml b/lectures/_config.yml index 4c3c0ff..a6f1f5e 100644 --- a/lectures/_config.yml +++ b/lectures/_config.yml @@ -52,6 +52,7 @@ sphinx: notebook_interface : classic # The interface interactive links will activate ["classic", "jupyterlab"] colab_url : https://colab.research.google.com thebe : false # Add a thebe button to pages (requires the repository to run on Binder) + enable_RTL: True mathjax_path: https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js rediraffe_redirects: index_toc.md: intro.md From 66593caa0fafae5c6c264b05ab49286e0c32f4ae Mon Sep 17 00:00:00 2001 From: mmcky Date: Mon, 11 Aug 2025 16:48:48 +1000 Subject: [PATCH 2/6] add jupytext headers for about_py --- lectures/about_py.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lectures/about_py.md b/lectures/about_py.md index 5a95954..92a326b 100644 --- a/lectures/about_py.md +++ b/lectures/about_py.md @@ -1,3 +1,14 @@ +--- +jupytext: + text_representation: + extension: .md + format_name: myst +kernelspec: + display_name: Python 3 + language: python + name: python3 +--- + مقدمه ای بر پایتون درباره ی این دوره From a2ea4c21484fc460ecea331037bed121823f4de2 Mon Sep 17 00:00:00 2001 From: mmcky Date: Mon, 11 Aug 2025 16:54:30 +1000 Subject: [PATCH 3/6] update install from branch syntax --- environment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment.yml b/environment.yml index e7cb4ea..890927e 100644 --- a/environment.yml +++ b/environment.yml @@ -7,7 +7,7 @@ dependencies: - pip - pip: - jupyter-book==1.0.3 - - https://github.com/QuantEcon/quantecon-book-theme@copilot/fix-291 + - git+https://github.com/QuantEcon/quantecon-book-theme@copilot/fix-291 - sphinx-tojupyter==0.3.0 - sphinxext-rediraffe==0.2.7 - sphinx-reredirects==0.1.4 From ca222501812c139b495fbad8a0eea02fd6c70017 Mon Sep 17 00:00:00 2001 From: mmcky Date: Mon, 11 Aug 2025 16:58:40 +1000 Subject: [PATCH 4/6] upgrade python=3.13 --- .github/workflows/ci.yml | 2 +- environment.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 957e1d9..0ac7af7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: auto-update-conda: true auto-activate-base: true miniconda-version: 'latest' - python-version: "3.12" + python-version: "3.13" environment-file: environment.yml activate-environment: quantecon - name: Install latex dependencies diff --git a/environment.yml b/environment.yml index 890927e..f16fd99 100644 --- a/environment.yml +++ b/environment.yml @@ -2,8 +2,8 @@ name: quantecon channels: - default dependencies: - - python=3.12 - - anaconda=2024.10 + - python=3.13 + - anaconda=2025.06 - pip - pip: - jupyter-book==1.0.3 From 8e1ad5a43aa7bfb075bfd57772c72b47f6bce4e9 Mon Sep 17 00:00:00 2001 From: mmcky Date: Tue, 12 Aug 2025 08:57:30 +1000 Subject: [PATCH 5/6] lowercase option name --- lectures/_config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lectures/_config.yml b/lectures/_config.yml index a6f1f5e..02a385d 100644 --- a/lectures/_config.yml +++ b/lectures/_config.yml @@ -46,13 +46,13 @@ sphinx: og_logo_url: https://assets.quantecon.org/img/qe-og-logo.png description: This website presents a set of lectures on python programming for economics, designed and written by Thomas J. Sargent and John Stachurski. keywords: Python, QuantEcon, Quantitative Economics, Economics, Sloan, Alfred P. Sloan Foundation, Tom J. Sargent, John Stachurski + enable_rtl: True analytics: google_analytics_id: G-X7DH1M2DPY launch_buttons: notebook_interface : classic # The interface interactive links will activate ["classic", "jupyterlab"] colab_url : https://colab.research.google.com thebe : false # Add a thebe button to pages (requires the repository to run on Binder) - enable_RTL: True mathjax_path: https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js rediraffe_redirects: index_toc.md: intro.md From 3337cd3ac30f936d22cc52af39e50fa7824a578e Mon Sep 17 00:00:00 2001 From: mmcky Date: Mon, 25 Aug 2025 11:04:15 +1000 Subject: [PATCH 6/6] install quantecon-book-theme==0.9.0 with rtl support --- environment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment.yml b/environment.yml index f16fd99..d138535 100644 --- a/environment.yml +++ b/environment.yml @@ -7,7 +7,7 @@ dependencies: - pip - pip: - jupyter-book==1.0.3 - - git+https://github.com/QuantEcon/quantecon-book-theme@copilot/fix-291 + - quantecon-book-theme==0.9.0 - sphinx-tojupyter==0.3.0 - sphinxext-rediraffe==0.2.7 - sphinx-reredirects==0.1.4