diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 7809c2a9..04804108 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -11,3 +11,16 @@ updates: prefix: ⬆️ schedule: interval: weekly + + - package-ecosystem: "conda" + directory: "/" + commit-message: + prefix: ⬆️ + schedule: + interval: weekly + ignore: + - dependency-name: "jupyter-book" + versions: [">=2.0"] + - dependency-name: "python" + # Python version should be constrained by the anaconda distribution version + versions: [">0"] diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index 16fffa11..3f11f73e 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -39,7 +39,7 @@ jobs: - name: Build HTML shell: bash -l {0} run: | - jb build lectures --path-output ./ --keep-going + jb build lectures --path-output ./ -n -W --keep-going - name: Upload Execution Reports (HTML) uses: actions/upload-artifact@v4 if: failure() diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a5d5d7b0..0fa79d46 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -73,7 +73,7 @@ jobs: - name: Build HTML shell: bash -l {0} run: | - jb build lectures --path-output ./ --keep-going + jb build lectures --path-output ./ -n -W --keep-going - name: Upload Execution Reports (HTML) uses: actions/upload-artifact@v4 if: failure() diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 480de601..8b4a9de6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -73,7 +73,7 @@ jobs: - name: Build HTML shell: bash -l {0} run: | - jb build lectures --path-output ./ + jb build lectures --path-output ./ -n -W --keep-going # Create HTML archive for release assets - name: Create HTML archive shell: bash -l {0} diff --git a/lectures/_static/lecture_specific/wald_friedman_2/wald_dec_rule.png b/lectures/_static/lecture_specific/wald_friedman_2/wald_dec_rule.png new file mode 100644 index 00000000..6664279d Binary files /dev/null and b/lectures/_static/lecture_specific/wald_friedman_2/wald_dec_rule.png differ diff --git a/lectures/cass_fiscal.md b/lectures/cass_fiscal.md index c347b6c9..b00f8e0f 100644 --- a/lectures/cass_fiscal.md +++ b/lectures/cass_fiscal.md @@ -287,7 +287,7 @@ mp.pretty = True 我们使用`mpmath`库在射击算法中执行高精度运算,以防止由于数值不稳定而导致解发散。 ```{note} -在下面的函数中,我们包含了一些处理增长成分的例程(将在{doc}`Exogenous growth` 一节中进一步讨论)。 +在下面的函数中,我们包含了一些处理增长成分的例程,这部分内容将在{ref}`growth_model`一节中进一步讨论。 我们在这里提前加入这些代码是为了避免代码重复。 ``` diff --git a/lectures/mix_model.md b/lectures/mix_model.md index feeb623e..85f0ab67 100644 --- a/lectures/mix_model.md +++ b/lectures/mix_model.md @@ -117,6 +117,7 @@ $$ import matplotlib.pyplot as plt FONTPATH = "fonts/SourceHanSerifSC-SemiBold.otf" +import matplotlib as mpl mpl.font_manager.fontManager.addfont(FONTPATH) plt.rcParams['font.family'] = ['Source Han Serif SC']