- Add BOOK_ROOT, QUARTO_DIR, TOOLS_DIR, DEPS_DIR, DOCKER_DIR env vars to all workflows
- Update path references to use centralized env vars
- Fix requirements.txt to reference book/tools/dependencies
- Fix pyproject.toml entry points: cli.main -> book.cli.main
- Add __init__.py to book/ and book/tools/ for Python package support
- Fix Dockerfile path casing (dockerfile -> Dockerfile)
- Fix publish-live.yml relative path after cd
This enables TinyTorch to coexist at repo root alongside book/ directory.
- Move high-level assets to assets/ directory (covers, icons, styles, media)
- Consolidate build configuration in config/ directory (extensions, lua, tex)
- Group development tools under tools/ directory (scripts, dependencies, setup)
- Organize all book content under book/ directory
- Update all path references in _quarto.yml and other config files
- Preserve git history for all moved files
- Maintain full functionality for both HTML and PDF builds
This reorganization reduces root directory clutter from 50+ files to essential
project files only, providing clear separation of concerns and improved
maintainability for the textbook project.
Adds a pre-commit hook to validate image files.
This ensures that images are not corrupted and have the correct format.
Also, renames several png images to jpg or gif and updates references in the qmd files.
Consolidates PDF processing dependencies by enabling `ghostscript` in `requirements.txt`.
Removes the comment suggesting `ghostscript` is an alternative to a system package and clarifies its role.
Adds a comprehensive requirements file and a scripts README
documenting dependencies, pre-commit setup, and project structure.
This enhancement streamlines project setup and ensures consistent
dependency management, improving maintainability and collaboration.