Use Starlight Code component for upgrade-instructions code blocks#423
Merged
Conversation
Replaces hand-rolled <pre><code> blocks across the upgrade-instructions components with Starlight's <Code> so commands get syntax highlighting and a built-in copy button. Also flattens the orphan <ol> in DockerComposeUpgradeSteps so the TB_VERSION block aligns visually with the surrounding command blocks.
vvlladd28
added a commit
that referenced
this pull request
May 26, 2026
* Use Starlight Code component for upgrade-instructions code blocks (#423) Replaces hand-rolled <pre><code> blocks across the upgrade-instructions components with Starlight's <Code> so commands get syntax highlighting and a built-in copy button. Also flattens the orphan <ol> in DockerComposeUpgradeSteps so the TB_VERSION block aligns visually with the surrounding command blocks. * fix(a11y): apply alt text for blog, device-library, rule-nodes, and product images (#424) Update 244 image alt texts from the SEO/accessibility audit (CSV): - 210 blog `` images across 37 posts - 16 `<DocImage>` alts in 4 device-library guides - 7 rule-node icon items in shared _includes; RuleNodeCardGrid now surfaces `item.alt` while keeping `aria-hidden` on the placeholder (alt for SEO, no redundant a11y announce next to title/desc) - 11 product-page images (mobile, mobile-pe, thingsboard-pe, trendz): added optional `phoneSideAlt` to MobileFeatureBlock and `alt` to FeatureCard; wired per-image alts on the pages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
<pre><code>blocks across all components insrc/components/upgrade-instructions/with Starlight's<Code>so commands get syntax highlighting and a built-in copy button.pre/pre codescoped styles in each file.<ol>inDockerComposeUpgradeSteps.astroso theTB_VERSION=…block lines up visually with the rest of the command blocks.