GitHub

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:

@@ -12,18 +12,27 @@ jobs:

1212

auto-update-conda: true

1313

auto-activate-base: true

1414

miniconda-version: 'latest'

15-

python-version: 3.7

15+

python-version: 3.8

1616

environment-file: environment.yml

1717

activate-environment: qe-lectures

18-

- name: Install sphinxcontrib-tomyst

18+

- name: Install quantecon-book-theme

1919

shell: bash -l {0}

2020

run: |

21-

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

22-

cd sphinxcontrib-tomyst && python setup.py install

21+

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

22+

cd quantecon-book-theme

23+

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

2332

- name: Install Dependencies

2433

shell: bash -l {0}

2534

run: |

26-

pip install sphinx-book-theme myst-nb

35+

pip install jupyter-book

2736

- name: Display Conda Environment Versions

2837

shell: bash -l {0}

2938

run: conda list

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

3342

- name: Build HTML

3443

shell: bash -l {0}

3544

run: |

36-

pwd

37-

make html

45+

jb build lectures --path-output ./

3846

- name: Preview Deploy to Netlify

3947

uses: nwtgck/actions-netlify@v1.1

4048

with:

Read the original on github.com ↗