Commit Graph

8 Commits

Author SHA1 Message Date
Vijay Janapa Reddi
d4edaea714 style: unify subscribe modal branding and use relative navbar links
- Update all subscribe modals to show just "MLSysBook" branding
- Change navbar project links to relative paths for dev site compatibility
- Update book, kits, and tinytorch configs consistently
2025-12-28 15:04:02 -05:00
Vijay Janapa Reddi
d42ca87f96 refactor: standardize subscribe modal tag naming convention
Use consistent *-site suffix for Buttondown tags:
- tinytorch-website -> tinytorch-site
- mlsysbook-textbook -> mlsysbook-site
2025-12-15 19:03:57 -05:00
Vijay Janapa Reddi
639bf0bb85 feat: add URL hash support for subscribe modal
Opening a page with #subscribe in the URL now automatically
opens the subscribe popup on both sites.
2025-12-15 13:40:07 -05:00
Vijay Janapa Reddi
853eb03ee8 style: apply consistent whitespace and formatting across codebase 2025-12-13 14:05:34 -05:00
Vijay Janapa Reddi
eca1fd635b Enhances subscribe modal link detection
Improves the subscription modal functionality by expanding the selectors used to identify subscription links in the navigation bar.
It now searches for links with various href attributes (buttondown.email/mlsysbook, #subscribe, subscribe)
and IDs (navbar-subscribe-btn) or classes (subscribe-link).
This makes the subscription modal more accessible, regardless of the specific link implementation.
Additionally, it updates the "Star" link in the navigation bar to point to the support section on Github.
2025-12-11 07:17:34 -08:00
Vijay Janapa Reddi
c42fcb77a4 Add optional 'What brings you here?' field to subscribe modals 2025-12-10 06:08:34 -08:00
Vijay Janapa Reddi
0617d6d190 fix(modal): align subscribe modal CSS with TinyTorch version
Use simpler class names (modal-title, modal-subtitle) that don't
conflict with Quarto's default styling. This fixes the layout issue
where the title and subtitle were appearing side by side instead
of stacked vertically.

Changes:
- Replace subscribe-modal-title with modal-title
- Replace subscribe-modal-subtitle with modal-subtitle
- Remove !important overrides that were fighting Quarto CSS
- Keep book-specific styling (blue button, quarto-dark mode)
2025-12-05 20:18:12 -08:00
Vijay Janapa Reddi
7b92e11193 Repository Restructuring: Prepare for TinyTorch Integration (#1068)
* 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
2025-12-05 14:04:21 -08:00