mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-08 09:57:21 -05:00
Add `width="100%"` to every HTML content and contributor table across all project READMEs so they render full-width on GitHub instead of collapsing to natural content width. Cell-level `width="X%"` percentages were already in place but only take effect once the table itself has an explicit width. Also update the contributor-sync scripts so the auto-generated tables stay consistent on the next bot run: - .github/workflows/contributors/generate_main_readme.py - .github/workflows/contributors/generate_readme_tables.py Scope: 27 files, 85 tables. Sub-project READMEs that already use the "card" pattern (labs/, kits/ content sections with <table width="98%"> wrappers) are intentionally untouched.
MIT Press Assets
Scripts and generated files for MIT Press submission.
Figure List Generator
Extracts figure metadata from QMD source files:
# From the quarto/ directory:
python3 scripts/mit_press/figure_list_for_press.py --vol 1 -o scripts/mit_press/FIGURE_LIST_VOL1.txt
python3 scripts/mit_press/figure_list_for_press.py --vol 1 --format csv -o scripts/mit_press/FIGURE_LIST_VOL1.csv
Output Formats
- Text (default): Human-readable, organized by chapter
- CSV: Spreadsheet format with columns: Figure Number, Label, Caption, Alt-Text
- Markdown: Formatted for documentation
Output Fields
| Field | Description |
|---|---|
| Figure Number | Chapter.Figure format (e.g., 1.1, 2.3) |
| Label | Source reference (e.g., fig-ai-timeline) |
| Caption | Full caption text |
| Alt-Text | Accessibility description |
Generated Files
FIGURE_LIST_VOL1.txt- Text format, 152 figuresFIGURE_LIST_VOL1.csv- CSV format for spreadsheets