2 Commits
Author SHA1 Message Date
Vijay Janapa Reddi 4bec7f18e9 refactor(tinytorch): retire the Lab Guide PDF
The Lab Guide PDF had no content of its own. guide/pdf/_quarto.yml
listed ../modules/*.qmd, the same twenty files the website renders, plus
preface, getting-started, the milestones, and the glossary. It was the
website typeset.

That made every module page serve two renderers at once, which is why
the pages carry so much narrative: a page thin enough to be a good
landing page made a poor PDF chapter. The book has since become the
explanatory artifact, with a fixed structure per chapter (The Problem,
The Idea, The Code, A Worked Trace, From TinyTorch to Production), and
it covers preface, welcome and milestones 01-03 already.

So the split is now the one the docs described all along, minus the
duplicate: a website you do the work on, and a book that explains it.

Removed:
- guide/pdf/ (6 files)
- the Lab Guide entry from the navbar; two PDF downloads remain
- guide/Makefile's pdf and install-deps targets, and the pdf/_build
  bookkeeping; `all` now defaults to `site`
- the build-guide job in tinytorch-update-pdfs.yml and build-pdf-guide
  in tinytorch-build-pdfs.yml, plus the download/inject steps in
  preview-dev and publish-live, the site-only preservation entry, and
  the summary rows that referenced the removed jobs

Kept, because other things depend on them:
- guide/tools/diagrams/svg-to-pdf.lua, which book/_quarto.yml borrows
- guide/Makefile's `figures` target, which produces the sibling PDFs
  that filter needs

Moved rather than deleted: apt-requirements.txt and tex-requirements.txt
now live in book/, since the book is the only PDF built from this tree.
The book gets its own Makefile carrying install-deps, and the workflow
that used to run `make install-deps` in tinytorch/guide now runs it in
tinytorch/book.

book/index.qmd states the website-and-book pairing that replaces the
"Two Pillars" section retired with guide/pdf/index.qmd.

Verified: site builds, documented tito commands still resolve, all four
workflows parse, and no reference to TinyTorch-Guide or build-guide
remains anywhere in the tree.
2026-09-17 21:41:17 +02:00
Vijay Janapa Reddi 53b8f58224 refactor(tinytorch): rename quarto directory to guide and update all ecosystem references 2026-09-16 22:13:23 +02:00