Skip to content

Commit 750010b

Browse files
committed
Merge branch 'main' into update_cobweb
2 parents 4642271 + c6fa84d commit 750010b

14 files changed

+4208
-1302
lines changed

.github/workflows/collab.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Build Project on Google Collab (Execution)
2+
on: [pull_request]
3+
4+
jobs:
5+
test:
6+
runs-on: ubuntu-latest-m
7+
container:
8+
image: us-docker.pkg.dev/colab-images/public/runtime:latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
with:
12+
ref: ${{ github.event.pull_request.head.sha }}
13+
- name: Check for dockerenv file
14+
run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv)
15+
- name: Check python version
16+
shell: bash -l {0}
17+
run: |
18+
python --version
19+
- name: Display Pip Versions
20+
shell: bash -l {0}
21+
run: pip list
22+
- name: Download "build" folder (cache)
23+
uses: dawidd6/action-download-artifact@v3
24+
with:
25+
workflow: cache.yml
26+
branch: main
27+
name: build-cache
28+
path: _build
29+
# Install build software
30+
- name: Install Build Software
31+
shell: bash -l {0}
32+
run: |
33+
pip install jupyter-book==0.15.1 docutils==0.17.1 quantecon-book-theme==0.7.1 sphinx-tojupyter==0.3.0 sphinxext-rediraffe==0.2.7 sphinx-exercise==0.4.1 sphinxcontrib-youtube==1.1.0 sphinx-togglebutton==0.3.1 arviz==0.13.0 sphinx_proof==0.1.3
34+
# Build of HTML (Execution Testing)
35+
- name: Build HTML
36+
shell: bash -l {0}
37+
run: |
38+
jb build lectures --path-output ./ -n -W --keep-going
39+
- name: Upload Execution Reports
40+
uses: actions/upload-artifact@v4
41+
if: failure()
42+
with:
43+
name: execution-reports
44+
path: _build/html/reports
45+
- name: Preview Deploy to Netlify
46+
uses: nwtgck/actions-netlify@v2
47+
with:
48+
publish-dir: '_build/html/'
49+
production-branch: main
50+
github-token: ${{ secrets.GITHUB_TOKEN }}
51+
deploy-message: "Preview Deploy from GitHub Actions"
52+
env:
53+
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
54+
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}

lectures/_static/quant-econ.bib

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
QuantEcon Bibliography File used in conjuction with sphinxcontrib-bibtex package
33
Note: Extended Information (like abstracts, doi, url's etc.) can be found in quant-econ-extendedinfo.bib file in _static/
44
###
5+
@article{levitt2019did,
6+
title={Why did ancient states collapse?: the dysfunctional state},
7+
author={Levitt, Malcolm},
8+
journal={Why Did Ancient States Collapse?},
9+
pages={1--56},
10+
year={2019},
11+
publisher={Archaeopress}
12+
}
13+
514

615
@book{Burns_2023,
716
title={Milton Friedman: The Last Conservative by Jennifer Burns},

lectures/_toc.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ parts:
3131
numbered: true
3232
chapters:
3333
- file: eigen_I
34+
- file: greek_square
3435
- caption: Probability and Distributions
3536
numbered: true
3637
chapters:
@@ -54,8 +55,8 @@ parts:
5455
- file: unpleasant
5556
- file: money_inflation_nonlinear
5657
- file: laffer_adaptive
57-
#- file: french_rev
58-
#- file: ak2
58+
# - file: french_rev
59+
- file: ak2
5960
- caption: Stochastic Dynamics
6061
numbered: true
6162
chapters:

0 commit comments

Comments
 (0)