Skip to content

Commit 6e0161c

Browse files
committed
setup download notebooks
1 parent 626fd14 commit 6e0161c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ jobs:
5757
# with:
5858
# name: execution-reports
5959
# path: _build/latex/reports
60-
# - name: Build Download Notebooks (sphinx-tojupyter)
61-
# shell: bash -l {0}
62-
# run: |
63-
# jb build lectures --path-output ./ --builder=custom --custom-builder=jupyter
64-
# mkdir -p _build/html/_notebooks
65-
# cp -u _build/jupyter/*.ipynb _build/html/_notebooks
60+
- name: Build Download Notebooks (sphinx-tojupyter)
61+
shell: bash -l {0}
62+
run: |
63+
jb build lectures --path-output ./ --builder=custom --custom-builder=jupyter
64+
mkdir -p _build/html/_notebooks
65+
cp -u _build/jupyter/*.ipynb _build/html/_notebooks
6666
# Build HTML (Website)
6767
# BUG: rm .doctress to remove `sphinx` rendering issues for ipywidget mimetypes
6868
# and clear the sphinx cache for building final HTML documents.

lectures/_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ sphinx:
8080
header_organisation_url: https://quantecon.org
8181
header_organisation: QuantEcon
8282
repository_url: https://github.com/QuantEcon/lecture-python.myst
83-
nb_repository_url: https://github.com/QuantEcon/lecture-python.notebooks
83+
nb_repository_url: https://github.com/QuantEcon/lecture-python.zh-cn.notebooks
8484
twitter: quantecon
8585
twitter_logo_url: https://assets.quantecon.org/img/qe-twitter-logo.png
8686
og_logo_url: https://assets.quantecon.org/img/qe-og-logo.png

0 commit comments

Comments
 (0)