mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-08 02:28:25 -05:00
[PR #1505] [MERGED] docs(announcements): unify announcement bars across nine Quarto sites #7372
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/harvard-edge/cs249r_book/pull/1505
Author: @profvjreddi
Created: 4/23/2026
Status: ✅ Merged
Merged: 4/23/2026
Merged by: @profvjreddi
Base:
dev← Head:docs/announcement-banners-unified📝 Commits (1)
ad98437docs(announcements): unify announcement bars across nine Quarto sites📊 Changes
9 files changed (+116 additions, -40 deletions)
View changed files
📝
book/quarto/config/shared/html/announcement-vol1.yml(+10 -4)📝
book/quarto/config/shared/html/announcement-vol2.yml(+9 -3)📝
instructors/config/announcement.yml(+13 -5)📝
kits/config/announcement.yml(+12 -5)📝
labs/config/announcement.yml(+12 -5)📝
mlsysim/docs/config/announcement.yml(+12 -4)📝
site/config/announcement.yml(+14 -5)📝
slides/config/announcement.yml(+13 -5)📝
tinytorch/quarto/config/announcement.yml(+21 -4)📄 Description
Summary
Replaces the drifted per-site announcement bars with one unifying template that makes the curriculum shape legible on every site.
Template (all nine Quarto sites):
Line 3 is the spine — the same phrase appears on every site, with verb tags (build / deploy / simulate / explore / teach) that reveal each site's role in the curriculum at a glance. The book is unambiguously the anchor; everything else is a verb applied to it.
Files changed (9)
site/config/announcement.yml(landing — 5-line variant covering all verbs)book/quarto/config/shared/html/announcement-vol1.ymlbook/quarto/config/shared/html/announcement-vol2.ymltinytorch/quarto/config/announcement.ymlkits/config/announcement.ymllabs/config/announcement.ymlmlsysim/docs/config/announcement.ymlslides/config/announcement.ymlinstructors/config/announcement.ymlWhat got fixed along the way
kitsandlabs("Happy New Year!")/booklegacy links →/vol1/and/vol2/(the repo has been vol-split;/bookis ambiguous)#subscribe→https://mlsysbook.ai/newsletter/(the#subscribeanchor only resolves on the landing page)Out of scope
StaffML is a Next.js app, not a Quarto site — so the YAML-driven
announcement.ymlmechanism doesn't apply. A matching React banner component will ship as a separate PR.Test plan
yaml.safe_loadgreen)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.