From 551aaf4e3a0a2714e28a68199ad17fad7cea5d71 Mon Sep 17 00:00:00 2001 From: mmcky Date: Sun, 23 Nov 2025 10:17:54 +1100 Subject: [PATCH 1/4] Upgrade quantecon-book-theme to 0.12.0 and add path_to_docs config --- environment.yml | 2 +- lectures/_config.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/environment.yml b/environment.yml index f73ea565..9e4a52dd 100644 --- a/environment.yml +++ b/environment.yml @@ -7,7 +7,7 @@ dependencies: - pip - pip: - jupyter-book==1.0.4post1 - - quantecon-book-theme==0.11.0 + - quantecon-book-theme==0.12.0 - sphinx-tojupyter==0.6.0 - sphinxext-rediraffe==0.2.7 - sphinx-exercise==1.2.1 diff --git a/lectures/_config.yml b/lectures/_config.yml index e4a8a23d..430ab306 100644 --- a/lectures/_config.yml +++ b/lectures/_config.yml @@ -41,6 +41,7 @@ sphinx: header_organisation: QuantEcon repository_url: https://github.com/QuantEcon/lecture-python-programming.myst nb_repository_url: https://github.com/QuantEcon/lecture-python-programming.notebooks + path_to_docs: lectures 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 From c731a33c790ddd888b41574c7995ae95ed273bfd Mon Sep 17 00:00:00 2001 From: mmcky Date: Sun, 23 Nov 2025 10:31:02 +1100 Subject: [PATCH 2/4] tmp: disable build cache --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f7744bc2..0500aaf2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,13 +33,13 @@ jobs: - name: Display Pip Versions shell: bash -l {0} run: pip list - - name: Download "build" folder (cache) - uses: dawidd6/action-download-artifact@v11 - with: - workflow: cache.yml - branch: main - name: build-cache - path: _build + # - name: Download "build" folder (cache) + # uses: dawidd6/action-download-artifact@v11 + # with: + # workflow: cache.yml + # branch: main + # name: build-cache + # path: _build # Build Assets (Download Notebooks and PDF via LaTeX) - name: Build Download Notebooks (sphinx-tojupyter) shell: bash -l {0} From c094f49c2e915485f9ab6748e4a0fb3c45f9c06f Mon Sep 17 00:00:00 2001 From: mmcky Date: Sun, 23 Nov 2025 15:48:13 +1100 Subject: [PATCH 3/4] FIX: Add fetch-depth: 0 to enable full git history for changelog feature --- .github/workflows/ci.yml | 2 ++ .github/workflows/publish.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0500aaf2..7f3d6d91 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v5 + with: + fetch-depth: 0 # Fetch full git history for changelog feature - name: Setup Anaconda uses: conda-incubator/setup-miniconda@v3 with: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b49bc4de..b462573e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,6 +10,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v5 + with: + fetch-depth: 0 # Fetch full git history for changelog feature - name: Setup Anaconda uses: conda-incubator/setup-miniconda@v3 with: From 914e11ed7192bcba0455f62552ad75de0df4ba06 Mon Sep 17 00:00:00 2001 From: mmcky Date: Sun, 23 Nov 2025 15:57:32 +1100 Subject: [PATCH 4/4] Revert "tmp: disable build cache" This reverts commit c731a33c790ddd888b41574c7995ae95ed273bfd. --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7f3d6d91..4052717f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,13 +35,13 @@ jobs: - name: Display Pip Versions shell: bash -l {0} run: pip list - # - name: Download "build" folder (cache) - # uses: dawidd6/action-download-artifact@v11 - # with: - # workflow: cache.yml - # branch: main - # name: build-cache - # path: _build + - name: Download "build" folder (cache) + uses: dawidd6/action-download-artifact@v11 + with: + workflow: cache.yml + branch: main + name: build-cache + path: _build # Build Assets (Download Notebooks and PDF via LaTeX) - name: Build Download Notebooks (sphinx-tojupyter) shell: bash -l {0}