mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-04-30 01:29:07 -05:00
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:
@@ -1 +1 @@
|
||||
config/_quarto-pdf.yml
|
||||
config/_quarto-html.yml
|
||||
5
kits/_redirects
Normal file
5
kits/_redirects
Normal 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
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user