Skip to content

Commit 18303c6

Browse files
authored
Merge branch 'main' into dependabot/conda/anaconda-2025.12
2 parents 8eb4136 + f7b2f8f commit 18303c6

File tree

6 files changed

+41
-7
lines changed

6 files changed

+41
-7
lines changed

.github/workflows/cache.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ jobs:
4040
run: |
4141
jb build lectures --path-output ./ -W --keep-going
4242
- name: Upload Execution Reports (HTML)
43-
uses: actions/upload-artifact@v5
43+
uses: actions/upload-artifact@v6
4444
if: failure()
4545
with:
4646
name: execution-reports
4747
path: _build/html/reports
4848
- name: Upload "_build" folder (cache)
49-
uses: actions/upload-artifact@v5
49+
uses: actions/upload-artifact@v6
5050
with:
5151
name: build-cache
5252
path: _build

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
mkdir -p _build/html/_pdf
5353
cp -u _build/latex/*.pdf _build/html/_pdf
5454
- name: Upload Execution Reports (LaTeX)
55-
uses: actions/upload-artifact@v5
55+
uses: actions/upload-artifact@v6
5656
if: failure()
5757
with:
5858
name: execution-reports
@@ -72,7 +72,7 @@ jobs:
7272
rm -r _build/.doctrees
7373
jb build lectures --path-output ./ -nW --keep-going
7474
- name: Upload Execution Reports (HTML)
75-
uses: actions/upload-artifact@v5
75+
uses: actions/upload-artifact@v6
7676
if: failure()
7777
with:
7878
name: execution-reports

.github/workflows/collab.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
run: |
3838
jb build lectures --path-output ./ -n -W --keep-going
3939
- name: Upload Execution Reports
40-
uses: actions/upload-artifact@v5
40+
uses: actions/upload-artifact@v6
4141
if: failure()
4242
with:
4343
name: execution-reports

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jobs:
115115
publish_dir: _build/html/
116116
cname: intro.quantecon.org
117117
- name: Upload "_build" folder (cache)
118-
uses: actions/upload-artifact@v5
118+
uses: actions/upload-artifact@v6
119119
with:
120120
name: build-publish
121121
path: _build

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencies:
77
- pip
88
- pip:
99
- jupyter-book==1.0.4post1
10-
- quantecon-book-theme==0.15.0
10+
- quantecon-book-theme==0.15.1
1111
- sphinx-tojupyter==0.3.1
1212
- sphinxext-rediraffe==0.3.0
1313
- sphinx-exercise==1.0.1

lectures/_config.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,40 @@ sphinx:
4444
nb_render_image_options:
4545
width: 80%
4646
nb_code_prompt_show: "Show {type}"
47+
nb_merge_streams: true
48+
nb_mime_priority_overrides: [
49+
# HTML
50+
['html', 'application/vnd.jupyter.widget-view+json', 10],
51+
['html', 'application/javascript', 20],
52+
['html', 'text/html', 30],
53+
['html', 'text/latex', 40],
54+
['html', 'image/svg+xml', 50],
55+
['html', 'image/png', 60],
56+
['html', 'image/jpeg', 70],
57+
['html', 'text/markdown', 80],
58+
['html', 'text/plain', 90],
59+
# Jupyter Notebooks
60+
['jupyter', 'application/vnd.jupyter.widget-view+json', 10],
61+
['jupyter', 'application/javascript', 20],
62+
['jupyter', 'text/html', 30],
63+
['jupyter', 'text/latex', 40],
64+
['jupyter', 'image/svg+xml', 50],
65+
['jupyter', 'image/png', 60],
66+
['jupyter', 'image/jpeg', 70],
67+
['jupyter', 'text/markdown', 80],
68+
['jupyter', 'text/plain', 90],
69+
# LaTeX
70+
['latex', 'text/latex', 10],
71+
['latex', 'application/pdf', 20],
72+
['latex', 'image/png', 30],
73+
['latex', 'image/jpeg', 40],
74+
['latex', 'text/markdown', 50],
75+
['latex', 'text/plain', 60],
76+
# Link Checker
77+
['linkcheck', 'text/plain', 10],
78+
]
4779
suppress_warnings: [mystnb.unknown_mime_type, myst.domains]
80+
# sphinx-proof
4881
proof_minimal_theme: true
4982
# -------------
5083
html_js_files:
@@ -63,6 +96,7 @@ sphinx:
6396
header_organisation: QuantEcon
6497
repository_url: https://github.com/QuantEcon/lecture-python-intro
6598
nb_repository_url: https://github.com/QuantEcon/lecture-python-intro.notebooks
99+
path_to_docs: lectures
66100
twitter: quantecon
67101
twitter_logo_url: https://assets.quantecon.org/img/qe-twitter-logo.png
68102
og_logo_url: https://assets.quantecon.org/img/qe-og-logo.png

0 commit comments

Comments
 (0)