mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-04-30 01:29:07 -05:00
Refactors figure list generation to reliably locate and clear LaTeX manifest files. - Searches for the figure manifest in both the quarto root and build output directory, handling cases where the post-render step moves the file. - Clears stale manifests from both locations to avoid incorrect figure counts from previous builds. - Moves the LaTeX manifest to the build output directory to keep the source tree clean. - Updates the merge script to find the manifest dynamically. This prevents issues where figure counts are mismatched due to outdated or missing manifest files.
229 lines
3.5 KiB
Plaintext
229 lines
3.5 KiB
Plaintext
# Byte-compiled / optimized / DLL files
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
|
|
# C extensions
|
|
*.so
|
|
|
|
# Distribution / packaging
|
|
.Python
|
|
build/
|
|
develop-eggs/
|
|
dist/
|
|
downloads/
|
|
eggs/
|
|
.eggs/
|
|
lib/
|
|
lib64/
|
|
parts/
|
|
!book/quarto/contents/*/parts/
|
|
sdist/
|
|
var/
|
|
wheels/
|
|
share/python-wheels/
|
|
*.egg-info/
|
|
.installed.cfg
|
|
*.egg
|
|
MANIFEST
|
|
|
|
# PyInstaller
|
|
*.manifest
|
|
*.spec
|
|
|
|
# Unit test / coverage reports
|
|
htmlcov/
|
|
.tox/
|
|
.nox/
|
|
.coverage
|
|
.coverage.*
|
|
.cache
|
|
nosetests.xml
|
|
coverage.xml
|
|
*.cover
|
|
*.py,cover
|
|
.hypothesis/
|
|
.pytest_cache/
|
|
cover/
|
|
|
|
# Jupyter Notebook
|
|
.ipynb_checkpoints
|
|
|
|
# IPython
|
|
profile_default/
|
|
ipython_config.py
|
|
|
|
# pyenv
|
|
.python-version
|
|
|
|
# Virtual environments
|
|
.env
|
|
.venv
|
|
env/
|
|
venv/
|
|
ENV/
|
|
env.bak/
|
|
venv.bak/
|
|
bin/
|
|
include/
|
|
lib/
|
|
lib64/
|
|
pyvenv.cfg
|
|
share/
|
|
# Prevent duplicate venvs in subdirectories
|
|
site/.venv/
|
|
**/.venv/
|
|
**/venv/
|
|
**/env/
|
|
|
|
# IDEs
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.DS_Store
|
|
|
|
# Jupyter Book / Quarto build artifacts
|
|
book/_build/
|
|
book/quarto/_build/
|
|
book/quarto/**/*.html
|
|
book/quarto/**/._*_xref.json
|
|
book/quarto/**/*_files/
|
|
book/quarto/**/*.backup.*
|
|
book/quarto/*_figures.txt
|
|
site/_build/
|
|
docs/_build/
|
|
|
|
# NBGrader - assignments are dynamically generated via 'tito nbgrader generate'
|
|
# Only ignore student submissions and grading outputs, not source/release (for now)
|
|
assignments/autograded/
|
|
assignments/feedback/
|
|
assignments/submitted/
|
|
# Note: assignments/source/ and assignments/release/ are kept in git for now
|
|
# but should be regenerated with 'tito nbgrader generate' when modules change
|
|
|
|
# Logs
|
|
*.log
|
|
book/tools/scripts/testing/logs/
|
|
|
|
# LaTeX build artifacts
|
|
*.aux
|
|
*.bbl
|
|
*.blg
|
|
*.out
|
|
*.fls
|
|
*.fdb_latexmk
|
|
*.synctex.gz
|
|
*.toc
|
|
*.lof
|
|
*.lot
|
|
*.pdf
|
|
|
|
# Database
|
|
*.db
|
|
*.sqlite
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Temporary files
|
|
*.tmp
|
|
*.temp
|
|
|
|
# Backup files
|
|
*.bak
|
|
*.backup
|
|
|
|
# AI assistant configs (symlinks to external AIConfigs repo, not tracked)
|
|
.claude
|
|
.claude/
|
|
.cursor
|
|
.cursor/
|
|
.cursor~HEAD
|
|
.ai/
|
|
|
|
# Project specific
|
|
tito-cli.log
|
|
COMMIT_LOG.txt
|
|
|
|
# Tito CLI user state and cache (local to each user)
|
|
.tito/
|
|
|
|
# Downloaded datasets (not source-controlled, too large)
|
|
data/
|
|
datasets/
|
|
milestones/datasets/
|
|
|
|
# BUT: Include TinyTorch's curated educational datasets (tiny, ship-with-repo)
|
|
!datasets/tinydigits/
|
|
!datasets/tinytalks/
|
|
!datasets/tinymnist/
|
|
!datasets/README.md
|
|
!datasets/DATASET_ANALYSIS.md
|
|
|
|
# Temporary AI-generated reports (not permanent project docs)
|
|
MODULE_REVIEW_REPORT_*.md
|
|
MODULE_STATUS_SUMMARY.md
|
|
**/*_SUMMARY.md
|
|
**/*_REPORT*.md
|
|
**/*_ANALYSIS.md
|
|
**/*_VERIFICATION.md
|
|
**/*_CHECKLIST.md
|
|
**/*_FIXES*.md
|
|
**/*_CHANGES*.md
|
|
**/*_COMPLETE.md
|
|
**/*_RECOMMENDATIONS.md
|
|
**/*_BEFORE_AFTER.md
|
|
**/*_OUTPUTS.md
|
|
**/*_UPDATE.md
|
|
**/*_STATUS.md
|
|
**/*_MAP.md
|
|
**/*_GUIDE.md
|
|
**/*_FINDINGS.md
|
|
**/*_PLAN.md
|
|
**/*_COMPARISON.md
|
|
**/*_REVIEW*.md
|
|
**/*_MATRIX.md
|
|
**/*_INVENTORY.md
|
|
**/*_ASSESSMENT.md
|
|
**/VERIFY_*.py
|
|
**/NEW_CITATIONS.bib
|
|
**/proposed_figures.tex
|
|
progress.json
|
|
modules/HASATTR_*.md
|
|
|
|
# Generated notebooks (built from src/*.py source files)
|
|
# The modules/ directory contains generated notebooks for learners
|
|
modules/*
|
|
!modules/README.md
|
|
|
|
# Generated website module docs (copied from src/*/ABOUT.md during build)
|
|
# Single source of truth: src/*/ABOUT.md
|
|
docs/modules/*
|
|
docs/chapters/modules/*
|
|
|
|
# Site build artifacts
|
|
site/_build/
|
|
.envrc
|
|
|
|
# Generated tinytorch package (auto-generated from src/ via nbdev_export)
|
|
# Single source of truth: src/*/*.py files
|
|
# Note: This pattern is for inside tinytorch/, not at repo root
|
|
tinytorch/tinytorch/*
|
|
!tinytorch/tinytorch/README.md
|
|
|
|
# Generated benchmark outputs
|
|
.tito/benchmarks/
|
|
|
|
/.luarc.json
|
|
|
|
book/quarto/index.idx
|
|
|
|
book/quarto/index.ilg
|
|
|
|
book/quarto/index.ind
|
|
|
|
CLAUDE.md
|