mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-03-11 17:49:25 -05:00
Extracts announcement bar configuration
Moves the announcement bar configuration to a separate file. This change allows for easier management of the announcement bar content and enables conditional inclusion based on the build environment. The `dismissable` option is also set to `false` for production builds.
This commit is contained in:
@@ -38,21 +38,6 @@ website:
|
||||
back-to-top-navigation: true
|
||||
bread-crumbs: true
|
||||
|
||||
# Announcement bar configuration
|
||||
announcement:
|
||||
icon: megaphone
|
||||
dismissable: true
|
||||
type: primary
|
||||
position: below-navbar
|
||||
content: |
|
||||
🎉 **Just Announced:** *Machine Learning Systems* will be published by **MIT Press**. [See the news →](https://www.linkedin.com/posts/vijay-janapa-reddi-63a6a173_tinyml-tikz-ai-activity-7338324711145136128-6WU-?utm_source=share&utm_medium=member_desktop&rcm=ACoAAA-V7E4BcYtyZgLSeGhXC2t9jRSlmazfp-I)<br>
|
||||
|
||||
🚀 **Sneak Peek:** [Tiny🔥Torch](https://mlsysbook.github.io/TinyTorch/intro.html). Build your own machine learning framework from scratch!<br>
|
||||
|
||||
🧠 **Self-checks:** Added lightweight [quizzes](/contents/core/introduction/introduction.qmd#quiz-question-sec-introduction-ai-ml-basics-041a) to each chapter for self-assessment.<br>
|
||||
|
||||
📦 **New Hardware:** [Seeed TinyML Kit](/contents/labs/kits.qmd). Latest hands-on learning platform.
|
||||
|
||||
google-analytics:
|
||||
tracking-id: "G-M21L0CBCVN"
|
||||
anonymize-ip: true
|
||||
@@ -585,4 +570,9 @@ mlsysbook-ext/custom-numbered-blocks:
|
||||
group: chapter-connection
|
||||
callout-code:
|
||||
label: "Code"
|
||||
group: code-listing
|
||||
group: code-listing
|
||||
|
||||
# Announcement bar configuration, only for production builds (not preview)
|
||||
metadata-files:
|
||||
- config/announcement.yml
|
||||
|
||||
|
||||
21
quarto/config/announcement.yml
Normal file
21
quarto/config/announcement.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
# =============================================================================
|
||||
# ANNOUNCEMENT BAR CONFIGURATION - PRODUCTION
|
||||
# =============================================================================
|
||||
# This file contains the announcement bar configuration for the production site.
|
||||
# It's included via metadata-files in _quarto-html.yml
|
||||
# =============================================================================
|
||||
|
||||
website:
|
||||
announcement:
|
||||
icon: megaphone
|
||||
dismissable: false
|
||||
type: primary
|
||||
position: below-navbar
|
||||
content: |
|
||||
🎉 **Just Announced:** *Machine Learning Systems* will be published by **MIT Press**. [See the news →](https://www.linkedin.com/posts/vijay-janapa-reddi-63a6a173_tinyml-tikz-ai-activity-7338324711145136128-6WU-?utm_source=share&utm_medium=member_desktop&rcm=ACoAAA-V7E4BcYtyZgLSeGhXC2t9jRSlmazfp-I)<br>
|
||||
|
||||
🚀 **Sneak Peek:** [Tiny🔥Torch](https://mlsysbook.github.io/TinyTorch/intro.html). Build your own machine learning framework from scratch!<br>
|
||||
|
||||
🧠 **Self-checks:** Added lightweight [quizzes](/contents/core/introduction/introduction.qmd#quiz-question-sec-introduction-ai-ml-basics-041a) to each chapter for self-assessment.<br>
|
||||
|
||||
📦 **New Hardware:** [Seeed TinyML Kit](/contents/labs/kits.qmd). Latest hands-on learning platform.
|
||||
Reference in New Issue
Block a user