Skip to content

Commit 8b0cb0d

Browse files
authored
Migrate to use jupyter-book for building (#2)
* migrate to use jupyter-book for building * remove support or unsupported pages * update sources from lecture-python(9b37b62) * update sources from tomyst(71297ac) and lecture-python(f99e470) * remove wald_friedman and open an issue re: jupytext * remove index.md
1 parent 46c9e12 commit 8b0cb0d

File tree

177 files changed

+291
-2118
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

177 files changed

+291
-2118
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 9 deletions
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:

Makefile

Lines changed: 0 additions & 88 deletions
This file was deleted.

0 commit comments

Comments
 (0)