Files
cs249r_book/book
Vijay Janapa Reddi b44bfb143d fix: correct workspace root path calculation in format_tables.py
The script was using 4 parent directories to calculate workspace_root,
but since the script is at book/tools/scripts/content/format_tables.py,
it needs 5 parents to reach the actual repo root.

This was causing "Directory not found: book/book/quarto/contents" errors
in CI when the pre-commit hook passed paths like "book/quarto/contents/".

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-13 14:13:37 -05:00
..

Machine Learning Systems - Book

Build instructions for contributors

Book Website

This directory contains the MLSysBook textbook source and build system.

📖 Read Online📄 PDF📓 EPUB


Quick Start

# First time setup
./binder setup
./binder doctor

# Daily workflow
./binder clean              # Clean build artifacts
./binder build              # Build HTML book
./binder preview intro      # Preview chapter with live reload

# Build all formats
./binder pdf                # Build PDF
./binder epub               # Build EPUB

# Utilities
./binder help               # Show all commands
./binder list               # List chapters

Directory Structure

book/
├── quarto/              # Book source (Quarto markdown)
│   ├── contents/        # Chapter content
│   │   ├── core/        # Core chapters
│   │   ├── labs/        # Hands-on labs
│   │   ├── frontmatter/ # Preface, about, changelog
│   │   └── backmatter/  # References, glossary
│   ├── assets/          # Images, downloads
│   └── _quarto.yml      # Quarto configuration
├── cli/                 # Binder CLI tool
├── docker/              # Development containers
├── docs/                # Documentation
├── tools/               # Build scripts
└── binder               # CLI entry point

Contributing

  1. Fork and clone the repository
  2. Set up your environment: ./binder setup
  3. Find an issue or propose a change
  4. Make your changes in the quarto/contents/ directory
  5. Preview your changes: ./binder preview <chapter>
  6. Submit a PR with a clear description

Documentation



License

Book content is licensed under Creative Commons AttributionNonCommercialShareAlike 4.0 International (CC BY-NC-SA 4.0).

See LICENSE.md for details.