feat(ci): add PDF build and publish workflow for Hardware Kits

- Create kits-build-pdfs.yml using Docker container with TeX Live
- Update kits-publish-dev.yml to build PDF and deploy with site
- Update kits-publish-live.yml to build PDF and deploy with site
- Add Downloads menu to navbar with Hardware Kits PDF link
- Add _redirects for /kits/pdf shortcut
This commit is contained in:
Vijay Janapa Reddi
2025-12-28 13:38:47 -05:00
parent 0492ebaaac
commit 849c69a8a9
6 changed files with 161 additions and 11 deletions

View File

@@ -1 +1 @@
config/_quarto-pdf.yml
config/_quarto-html.yml

5
kits/_redirects Normal file
View File

@@ -0,0 +1,5 @@
# Redirects for Hardware Kits
# These work with Netlify, Vercel, and other hosting platforms
/pdf /assets/downloads/Hardware-Kits.pdf 301
/pdf/ /assets/downloads/Hardware-Kits.pdf 301

View File

@@ -49,12 +49,8 @@ website:
text: "Downloads"
menu:
- icon: file-pdf
text: "Textbook PDF"
href: https://mlsysbook.ai/assets/downloads/Machine-Learning-Systems.pdf
target: _blank
- icon: journal-text
text: "Textbook EPUB"
href: https://mlsysbook.ai/assets/downloads/Machine-Learning-Systems.epub
text: "Hardware Kits PDF"
href: assets/downloads/Hardware-Kits.pdf
target: _blank
- icon: star
text: "Star"