GitHub

File tree

  • .github/workflows

  • lectures

    • _static

      • includes

      • lecture_specific

        • aiyagari

        • arellano

        • cake_eating_numerical

        • career

        • coleman_policy_iter

        • finite_markov

        • heavy_tails

        • ifp

        • kalman

        • lake_model

        • linear_algebra

        • linear_models

        • lqcontrol

        • markov_perf

        • mccall_model_with_separation

        • mccall

        • mle

        • odu

        • ols

        • optgrowth_fast

        • optgrowth

        • pandas_panel

        • perm_income

        • schelling

        • short_path

        • troubleshooting

        • uncertainty_traps

        • wald_friedman

        • wealth_dynamics

  • source/rst

Original file line numberDiff line numberDiff line change

@@ -1,4 +1,4 @@

1-

name: Build Project [myst]

1+

name: Build Project [using jupyter-book]

22

on: [push]

33

jobs:

44

tests:

@@ -15,21 +15,24 @@ jobs:

1515

python-version: 3.8

1616

environment-file: environment.yml

1717

activate-environment: qe-lectures

18-

- name: Install sphinxcontrib-tomyst

19-

shell: bash -l {0}

20-

run: |

21-

git clone https://github.com/QuantEcon/sphinxcontrib-tomyst

22-

cd sphinxcontrib-tomyst && python setup.py install

2318

- name: Install quantecon-book-theme

2419

shell: bash -l {0}

2520

run: |

2621

git clone https://github.com/QuantEcon/quantecon-book-theme

2722

cd quantecon-book-theme

2823

python setup.py install

24+

cd ../ && rm -rf quantecon-book-theme

25+

- name: Install sphinx-multitoc-numbering

26+

shell: bash -l {0}

27+

run: |

28+

git clone https://github.com/executablebooks/sphinx-multitoc-numbering.git

29+

cd sphinx-multitoc-numbering

30+

python setup.py install

31+

cd ../ && rm -rf sphinx-multitoc-numbering

2932

- name: Install Dependencies

3033

shell: bash -l {0}

3134

run: |

32-

pip install myst-nb

35+

pip install jupyter-book

3336

- name: Display Conda Environment Versions

3437

shell: bash -l {0}

3538

run: conda list

@@ -39,8 +42,7 @@ jobs:

3942

- name: Build HTML

4043

shell: bash -l {0}

4144

run: |

42-

pwd

43-

make html

45+

jb build lectures --path-output ./

4446

- name: Preview Deploy to Netlify

4547

uses: nwtgck/actions-netlify@v1.1

4648

with:

Read the original on github.com ↗