mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2025-12-05 19:17:28 -06:00
* Restructure: Move book content to book/ subdirectory - Move quarto/ → book/quarto/ - Move cli/ → book/cli/ - Move docker/ → book/docker/ - Move socratiQ/ → book/socratiQ/ - Move tools/ → book/tools/ - Move scripts/ → book/scripts/ - Move config/ → book/config/ - Move docs/ → book/docs/ - Move binder → book/binder Git history fully preserved for all moved files. Part of repository restructuring to support MLSysBook + TinyTorch. Pre-commit hooks bypassed for this commit as paths need updating. * Update pre-commit hooks for book/ subdirectory - Update all quarto/ paths to book/quarto/ - Update all tools/ paths to book/tools/ - Update config/linting to book/config/linting - Update project structure checks Pre-commit hooks will now work with new directory structure. * Update .gitignore for book/ subdirectory structure - Update quarto/ paths to book/quarto/ - Update assets/ paths to book/quarto/assets/ - Maintain all existing ignore patterns * Update GitHub workflows for book/ subdirectory - Update all quarto/ paths to book/quarto/ - Update cli/ paths to book/cli/ - Update tools/ paths to book/tools/ - Update docker/ paths to book/docker/ - Update config/ paths to book/config/ - Maintain all workflow functionality * Update CLI config to support book/ subdirectory - Check for book/quarto/ path first - Fall back to quarto/ for backward compatibility - Maintain full CLI functionality * Create new root and book READMEs for dual structure - Add comprehensive root README explaining both projects - Create book-specific README with quick start guide - Document repository structure and navigation - Prepare for TinyTorch integration
164 lines
3.4 KiB
Plaintext
164 lines
3.4 KiB
Plaintext
# =============================================================================
|
|
# Machine Learning Systems Book - .gitignore
|
|
# =============================================================================
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Development Environments & Tools
|
|
# -----------------------------------------------------------------------------
|
|
# Python environments
|
|
.venv/
|
|
venv/
|
|
env/
|
|
.conda/
|
|
__pycache__/
|
|
|
|
# R environment
|
|
.Rproj.user/
|
|
|
|
# Editors & IDEs
|
|
.idea/
|
|
.vscode/
|
|
!.vscode/settings.json
|
|
/.luarc.json
|
|
|
|
# macOS
|
|
.DS_Store
|
|
*.icloud
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Quarto & Book Generation
|
|
# -----------------------------------------------------------------------------
|
|
# Quarto cache and output
|
|
/.book/quarto/
|
|
/_book/
|
|
/book/book/quarto/.book/quarto/
|
|
**/*.quarto_ipynb
|
|
|
|
# Build directory (new structure)
|
|
/build/
|
|
|
|
# macOS system files
|
|
._*
|
|
|
|
# Quarto temporary files
|
|
_quarto_test.yml
|
|
swap_quarto.bat
|
|
|
|
# Diagram cache files (auto-generated by Quarto)
|
|
diagram-*.pdf
|
|
|
|
# Script backup files
|
|
*.bak
|
|
*.backup
|
|
*.qmd.backup
|
|
*.yml.backup
|
|
*.yaml.backup
|
|
|
|
# Cross-reference files
|
|
**/._htmlbook_xref.json
|
|
**/._pdfbook_xref.json
|
|
|
|
# Site libraries
|
|
site_libs/
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Generated Content & Build Artifacts
|
|
# -----------------------------------------------------------------------------
|
|
# HTML outputs
|
|
/index.html
|
|
book/quarto/contents/**/*.html
|
|
book/quarto/contents/**/*.html
|
|
|
|
# LaTeX build files
|
|
index.tex
|
|
index.aux
|
|
index.toc
|
|
index.log
|
|
index_files/
|
|
book/quarto/index.pdf
|
|
Machine-Learning-Systems.tex
|
|
Machine-Learning-Systems.log
|
|
Machine-Learning-Systems.pdf
|
|
book/quarto/contents/labs/**/*.tex
|
|
book/quarto/contents/labs/**/*.pdf
|
|
|
|
|
|
# Book outputs
|
|
/*.ipynb
|
|
|
|
# PDF files - should not be tracked in git
|
|
/*.pdf
|
|
book/quarto/assets/Machine-Learning-Systems.pdf
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Quarto Figure & Media Generation
|
|
# -----------------------------------------------------------------------------
|
|
# Generated figures (specific to core content)
|
|
book/quarto/contents/core/**/figure-latex/
|
|
|
|
book/quarto/contents/core/**/figure-pdf/
|
|
book/quarto/contents/core/**/figure-html/
|
|
book/quarto/contents/core/**/mediabag/
|
|
|
|
# Lab-specific generated content
|
|
book/quarto/contents/labs/**/figure-latex/
|
|
|
|
book/quarto/contents/labs/**/figure-pdf/
|
|
book/quarto/contents/labs/**/mediabag/
|
|
|
|
# Any other figure directories
|
|
**/figure-latex/
|
|
|
|
# Quarto-generated HTML support files (should be regenerated on build)
|
|
**/*_files/
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Local Development & Temporary Files
|
|
# -----------------------------------------------------------------------------
|
|
# Local workspace
|
|
locals/
|
|
|
|
# Scripts and tools
|
|
scripts/cross_refs/t5-mlsys-domain-adapted/
|
|
|
|
# Temporary and debug files
|
|
debug.log
|
|
*.log
|
|
|
|
# Chapter review temporary files
|
|
.temp/
|
|
.claude/_reviews/
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Project Specific
|
|
# -----------------------------------------------------------------------------
|
|
|
|
# Build artifacts and caches
|
|
._pdfbook_xref.json
|
|
._htmlbook_xref.json
|
|
.xref_cache/
|
|
index_files/
|
|
site_libs/
|
|
.gradio/
|
|
locals/
|
|
..bfg-report/
|
|
|
|
# R Markdown artifacts (should not be committed)
|
|
*.rmarkdown
|
|
*.knit.md
|
|
*.utf8.md
|
|
|
|
# macOS artifacts
|
|
.DS_Store
|
|
._*
|
|
book/quarto/_site/
|
|
book/quarto/_build/
|
|
|
|
# AI tools
|
|
.claude/
|
|
.cursor/
|
|
|
|
*.backup.*
|
|
*.swp
|