diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index f968aa655..f0ea3a006 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -2,6 +2,7 @@ name: Build Cache [using jupyter-book] on: push: branches: + - cache_test_1 - main jobs: tests: @@ -34,6 +35,11 @@ jobs: xindy \ dvipng \ cm-super + # Build Assets (Download Notebooks and PDF via LaTeX) + - name: Build PDF from LaTeX + shell: bash -l {0} + run: | + jb build lectures --builder pdflatex --path-output ./ -n --keep-going - name: Build HTML shell: bash -l {0} run: | diff --git a/environment.yml b/environment.yml index f60099b5e..777c062a3 100644 --- a/environment.yml +++ b/environment.yml @@ -13,7 +13,7 @@ dependencies: - sphinx-tojupyter==0.3.0 - sphinxext-rediraffe==0.2.7 - sphinx-exercise==0.4.1 - - sphinx-proof==0.2.0 + - sphinx-proof==0.1.3 - ghp-import==1.1.0 - sphinxcontrib-youtube==1.1.0 - sphinx-togglebutton==0.3.1 diff --git a/lectures/_config.yml b/lectures/_config.yml index ecd808f0f..58fae3341 100644 --- a/lectures/_config.yml +++ b/lectures/_config.yml @@ -28,7 +28,7 @@ html: baseurl: https://intro.quantecon.org/ bibtex_bibfiles: - - _static/quant-econ.bib + - quant-econ.bib latex: latex_documents: @@ -45,7 +45,6 @@ sphinx: width: 80% nb_code_prompt_show: "Show {type}" suppress_warnings: [mystnb.unknown_mime_type, myst.domains] - proof_minimal_theme: true # ------------- html_js_files: - https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js diff --git a/lectures/_static/quant-econ.bib b/lectures/quant-econ.bib similarity index 100% rename from lectures/_static/quant-econ.bib rename to lectures/quant-econ.bib diff --git a/lectures/zreferences.md b/lectures/zreferences.md index 5f17e8922..167f8d99b 100644 --- a/lectures/zreferences.md +++ b/lectures/zreferences.md @@ -12,6 +12,6 @@ kernelspec: (references)= # References -```{bibliography} _static/quant-econ.bib +```{bibliography} quant-econ.bib ```