Commit Graph

5 Commits

Author SHA1 Message Date
Vijay Janapa Reddi
f87c88f699 refactor: switch from profiles to symlink config approach for PDF builds
- Move _quarto.yml to config/_quarto-html.yml
- Move profile PDF config to config/_quarto-pdf.yml
- Create symlink _quarto.yml -> config/_quarto-html.yml
- Update Makefile to switch configs via symlink (matches book approach)
- This fixes the per-file PDF rendering issue caused by profile merging
2025-12-28 11:17:30 -05:00
Vijay Janapa Reddi
4509f1142a fix: correct PDF build command for unified book output
- Use 'quarto render --profile pdf' instead of '--to titlepage-pdf'
- Rename format from titlepage-pdf to pdf (extension adds titlepage filters)
- Profile approach works correctly with book project type
2025-12-28 11:10:23 -05:00
Vijay Janapa Reddi
5bdec81783 refactor: simplify PDF profile to use only titlepage-pdf format
- Remove redundant standard PDF format from profile
- Update Makefile to use 'quarto render --to titlepage-pdf --profile pdf'
- Streamline build process to single PDF format with cover page
2025-12-28 11:02:37 -05:00
Vijay Janapa Reddi
a9a1c562c3 feat: add standalone PDF build infrastructure for Kits
Created independent build system for Hardware Kits PDF output:
- Added PDF profile (_quarto/profiles/pdf/_quarto.yml)
- Copied tex files with teal branding (#0d9488)
- Added inject_parts.lua filter for part summaries
- Updated Makefile with html and pdf targets

Usage: make pdf (or quarto render --profile pdf)
2025-12-27 17:59:58 -05:00
Vijay Janapa Reddi
029d99fb81 refactor: extract hardware labs to standalone kits project
Monorepo restructuring for better build performance and separation of concerns:

- Create kits/ as standalone Quarto project with teal accent styling
- Add _brand/ directory with shared design tokens (tokens.scss)
- Move labs from book/quarto/contents/labs/ to kits/contents/
- Remove labs sections (Parts VII-XII) from book sidebar
- Add CI/CD workflows for kits (kits-publish-live.yml, kits-publish-dev.yml)
- Update netlify.toml redirects: /labs -> /kits/
- Add Volume I/II test sidebar config for future use

Deployment URLs:
- Textbook: mlsysbook.ai/
- Kits: mlsysbook.ai/kits/
- TinyTorch: mlsysbook.ai/tinytorch/

All three projects build independently and successfully.
2025-12-24 10:54:41 -05:00