[PR #1403] [MERGED] fix(shared): centralize font loading + fix mlsysim carousel #9075

Closed
opened 2026-05-03 01:18:36 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/harvard-edge/cs249r_book/pull/1403
Author: @profvjreddi
Created: 4/18/2026
Status: Merged
Merged: 4/18/2026
Merged by: @profvjreddi

Base: devHead: fix/shared-fonts-and-mlsysim-carousel


📝 Commits (1)

  • 9f08ef0 fix(shared): centralize font loading via site-head.html + fix carousel

📊 Changes

11 files changed (+241 additions, -43 deletions)

View changed files

📝 book/quarto/config/_quarto-html-vol1.yml (+8 -11)
📝 book/quarto/config/_quarto-html-vol2.yml (+8 -11)
📝 instructors/_quarto.yml (+1 -4)
📝 kits/config/_quarto-html.yml (+1 -3)
📝 labs/config/_quarto-html.yml (+1 -3)
📝 mlsysim/docs/config/_quarto-html.yml (+1 -3)
📝 mlsysim/docs/index.qmd (+1 -0)
📝 mlsysim/docs/styles/landing.css (+150 -0)
📝 mlsysim/docs/styles/landing.js (+68 -1)
📝 slides/_quarto.yml (+1 -4)
📝 tinytorch/site-quarto/_quarto.yml (+1 -3)

📄 Description

Summary

  • Centralize font loading: Replace inline Google Fonts <link> tags in all 8 site _quarto.yml configs with a single - file: shared/config/site-head.html reference. Fonts (Inter 400-800, JetBrains Mono) and Font Awesome are now inherited from one shared file instead of duplicated across every config.
  • Add missing Inter weight 800 to the configs (was already in site-head.html but missing from individual configs).
  • Fix MLSys·im landing-page carousel: add CSS + JS for arrows, dots, slides, auto-rotation, and keyboard navigation. The < > buttons were previously non-functional.

Files touched

11 files across book/, instructors/, kits/, labs/, mlsysim/docs/, slides/, and tinytorch/.

Provenance

Cherry-picked from 69f330b2d on the post-merge review/mlsysim-release-0.1.0 branch (the original commit landed there by accident after PR #1397 was already merged). The original is preserved on that branch as a backup; this PR is the canonical landing path into dev.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/harvard-edge/cs249r_book/pull/1403 **Author:** [@profvjreddi](https://github.com/profvjreddi) **Created:** 4/18/2026 **Status:** ✅ Merged **Merged:** 4/18/2026 **Merged by:** [@profvjreddi](https://github.com/profvjreddi) **Base:** `dev` ← **Head:** `fix/shared-fonts-and-mlsysim-carousel` --- ### 📝 Commits (1) - [`9f08ef0`](https://github.com/harvard-edge/cs249r_book/commit/9f08ef0e59edcfa814ce5989d967b6c5f5a94221) fix(shared): centralize font loading via site-head.html + fix carousel ### 📊 Changes **11 files changed** (+241 additions, -43 deletions) <details> <summary>View changed files</summary> 📝 `book/quarto/config/_quarto-html-vol1.yml` (+8 -11) 📝 `book/quarto/config/_quarto-html-vol2.yml` (+8 -11) 📝 `instructors/_quarto.yml` (+1 -4) 📝 `kits/config/_quarto-html.yml` (+1 -3) 📝 `labs/config/_quarto-html.yml` (+1 -3) 📝 `mlsysim/docs/config/_quarto-html.yml` (+1 -3) 📝 `mlsysim/docs/index.qmd` (+1 -0) 📝 `mlsysim/docs/styles/landing.css` (+150 -0) 📝 `mlsysim/docs/styles/landing.js` (+68 -1) 📝 `slides/_quarto.yml` (+1 -4) 📝 `tinytorch/site-quarto/_quarto.yml` (+1 -3) </details> ### 📄 Description ## Summary - **Centralize font loading**: Replace inline Google Fonts `<link>` tags in all 8 site `_quarto.yml` configs with a single `- file: shared/config/site-head.html` reference. Fonts (Inter 400-800, JetBrains Mono) and Font Awesome are now inherited from one shared file instead of duplicated across every config. - **Add missing Inter weight 800** to the configs (was already in `site-head.html` but missing from individual configs). - **Fix MLSys·im landing-page carousel**: add CSS + JS for arrows, dots, slides, auto-rotation, and keyboard navigation. The `< >` buttons were previously non-functional. ## Files touched 11 files across `book/`, `instructors/`, `kits/`, `labs/`, `mlsysim/docs/`, `slides/`, and `tinytorch/`. ## Provenance Cherry-picked from `69f330b2d` on the post-merge `review/mlsysim-release-0.1.0` branch (the original commit landed there by accident after PR #1397 was already merged). The original is preserved on that branch as a backup; this PR is the canonical landing path into `dev`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-03 01:18:36 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/cs249r_book#9075