Skip to content

Commit 4de23c1

Browse files
committed
feat(mlsysim): unify navbar with Subscribe button to match Labs/Kits
Add subscribe-modal.js and Subscribe navbar button to MLSYSIM docs site, matching the unified navbar pattern across all components (Labs, Kits, MLSYSIM). Right-side items now follow the same order: Downloads, Star, Support, Subscribe, GitHub.
1 parent 3ee246a commit 4de23c1

2 files changed

Lines changed: 610 additions & 8 deletions

File tree

mlsysim/docs/config/_quarto-html.yml

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ project:
1212
- mlsysim-paper.pdf
1313

1414
website:
15-
title: "MLSys·im"
15+
title: "MLSys·IM - Machine Learning Systems"
1616
description: "First-principles infrastructure modeling for ML systems — from edge to exascale."
1717
site-url: https://mlsysbook.ai/mlsysim/
1818
favicon: logo.svg
1919

2020
open-graph:
2121
locale: en_US
2222
site-name: "Machine Learning Systems"
23-
title: "MLSys·im — ML Systems Infrastructure Modeling"
23+
title: "MLSys·IM — ML Systems Infrastructure Modeling"
2424
description: "Predict ML system performance, cost, and carbon from first principles. Companion to the ML Systems textbook."
2525
twitter-card:
26-
title: "MLSys·im — ML Systems Infrastructure Modeling"
26+
title: "MLSys·IM — ML Systems Infrastructure Modeling"
2727
description: "Predict ML performance, cost, and carbon from first principles. Open source."
2828
card-style: summary
2929

@@ -35,16 +35,17 @@ website:
3535
search:
3636
keyboard-shortcut: ["/"]
3737

38-
# Navbar — ecosystem dropdown only; page nav lives in the sidebar
38+
# Navbar — matches ecosystem pattern; page nav lives in the sidebar
3939
navbar:
4040
background: light
41+
logo: logo.svg
4142
search: true
4243
pinned: true
4344
collapse: true
4445
collapse-below: "md"
45-
title: "MLSys·im"
46+
title: "Machine Learning Systems"
4647
left:
47-
- text: "Ecosystem"
48+
- text: "MLSys·IM"
4849
menu:
4950
- icon: book-half
5051
text: "Full Textbook"
@@ -64,13 +65,20 @@ website:
6465
text: "Hardware Kits"
6566
href: ../kits/
6667
- icon: calculator
67-
text: "MLSys·im"
68+
text: "MLSys·IM"
6869
href: ./
6970
- text: "---"
7071
- icon: lightbulb
71-
text: "Labs (Coming 2026)"
72+
text: "Labs"
7273
href: ../labs/
7374
right:
75+
- icon: download
76+
text: "Downloads"
77+
menu:
78+
- icon: file-pdf
79+
text: "MLSys·IM Paper PDF"
80+
href: mlsysim-paper.pdf
81+
target: _blank
7482
- icon: star
7583
text: "Star"
7684
href: https://github.com/harvard-edge/cs249r_book#support-this-work
@@ -79,6 +87,10 @@ website:
7987
text: "Support"
8088
href: https://opencollective.com/mlsysbook
8189
target: _blank
90+
- icon: envelope
91+
text: "Subscribe"
92+
href: "#subscribe"
93+
id: "navbar-subscribe-btn"
8294
- icon: github
8395
text: "GitHub"
8496
menu:
@@ -229,6 +241,9 @@ format:
229241
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
230242
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
231243
<meta name="theme-color" content="#0284C7">
244+
include-after-body:
245+
- text: |
246+
<script src="scripts/subscribe-modal.js" defer></script>
232247
233248
# Announcement bar configuration
234249
metadata-files:

0 commit comments

Comments
 (0)