Skip to content

Commit 5c9cf4f

Browse files
committed
Download PDFs
1 parent e514726 commit 5c9cf4f

File tree

4 files changed

+24
-3
lines changed

4 files changed

+24
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,20 @@ jobs:
3737
node-version: 18.x
3838
- name: Install MyST
3939
run: npm install -g mystmd
40+
41+
# Install MyST and PDF dependencies
42+
- name: Install MyST Markdown
43+
run: npm install -g mystmd
44+
- name: Setup Typst
45+
uses: typst-community/setup-typst@v4
46+
47+
# Build PDF and then HTML
48+
- name: Build PDF Assets
49+
run: myst build --pdf
4050
- name: Build HTML Assets
4151
run: myst build --html
52+
53+
# Upload to GitHub Pages
4254
- name: Upload artifact
4355
uses: actions/upload-pages-artifact@v3
4456
with:

projects/masters-degree-in-data-science/advanced-deep-learning.ipynb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99
"exports:\n",
1010
"- format: pdf\n",
1111
" template: arxiv_two_column\n",
12-
" output: Advanced-Deep-Learning-Summary.pdf\n",
12+
" output: advanced-deep-learning.pdf\n",
13+
" id: advanced-deep-learning-pdf\n",
14+
"downloads:\n",
15+
" - id: advanced-deep-learning-pdf\n",
1316
"---"
1417
]
1518
},

projects/masters-degree-in-data-science/bayesian-machine-learning.ipynb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
"exports:\n",
99
"- format: pdf\n",
1010
" template: arxiv_two_column\n",
11-
" output: Bayesian-Machine-Learning-Summary.pdf\n",
11+
" output: bayesian-machine-learning.pdf\n",
12+
" id: bayesian-machine-learning-pdf\n",
13+
"downloads:\n",
14+
" - id: bayesian-machine-learning-pdf\n",
1215
"---\n",
1316
"\n",
1417
"# Bayesian Machine Learning"

projects/masters-degree-in-data-science/predictive-modeling.ipynb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
"exports:\n",
99
"- format: pdf\n",
1010
" template: arxiv_two_column\n",
11-
" output: Predictive-Modeling-Summary.pdf\n",
11+
" output: predictive-modeling.pdf\n",
12+
" id: predictive-modeling-pdf\n",
13+
"downloads:\n",
14+
" - id: predictive-modeling-pdf\n",
1215
"---\n",
1316
"\n",
1417
"# Predictive Modeling"

0 commit comments

Comments
 (0)