Skip to content

Small fixes in various files (highlighting, indent, zod, links, etc.)#13341

Merged
sarah11918 merged 2 commits intov6from
armand/small-fixes-before-v6-launch
Mar 4, 2026
Merged

Small fixes in various files (highlighting, indent, zod, links, etc.)#13341
sarah11918 merged 2 commits intov6from
armand/small-fixes-before-v6-launch

Conversation

@ArmandPhilippot
Copy link
Copy Markdown
Member

Description (required)

I was reviewing v6 docs, including pages not updated in the v6 branch, to check that we haven't miss anything. Except one Zod import and one content collection id/slug error, this is mostly what I caught while scanning the pages. (but I'm not done yet)

  • astro-courses.mdx: The SupportSquid forum is no longer under a subdomain. Even if there is a redirection, might be better to update the link. (closes Astro Support Squid’ url broken ( `get.supportsquid.ink` redirects to a domain parking page ) #13054)
  • content-collections.mdx:
    • fixes an issue with highlighted lines in a code snippet
    • updates a deprecated Zod import
  • fonts.mdx:
    • updates the font data code snippet, an endpoint cannot uses .tsx (closes Conflicting TSX Endpoint support #13324)
    • formats the fetch() call to reduce the horizontal scroll on small devices
    • adds semicolon for consistency
  • framework-components.mdx: fixes a shift in highlighted lines
  • images.mdx:
    • fixes an inconsistency between semicolon, simple quotes and doubles quotes (and indent)
    • fixes a long standing error in the frontmatter cover property
    • fixes an oversight related to content collections (post.slug/post.id)
  • migrate-to-astro/*: fixes an unclosed <style /> tag and the indentation
  • troubleshooting.mdx: updates the Roadmap link, there is a redirection but better to be safe by updating the link!

Related issues & labels (optional)

@ArmandPhilippot ArmandPhilippot added typo/link/grammar - quick fix! Quick fix for a link, typo, grammar/syntax error etc. Doesn't significantly change meaning of text. code snippet update Updates a code sample: typo, outdated code etc. consistency/formatting Standardizing without changing docs content e.g. indenting, lists etc. 6.0 labels Mar 4, 2026
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 4, 2026

Deploy Preview for astro-docs-2 ready!

Name Link
🔨 Latest commit 8c36815
🔍 Latest deploy log https://app.netlify.com/projects/astro-docs-2/deploys/69a85b6f74834c0007aea66b
😎 Deploy Preview https://deploy-preview-13341--astro-docs-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@astrobot-houston
Copy link
Copy Markdown
Contributor

astrobot-houston commented Mar 4, 2026

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
en/astro-courses.mdx Source changed, localizations will be marked as outdated.
en/guides/content-collections.mdx Source changed, localizations will be marked as outdated.
en/guides/fonts.mdx Source changed, localizations will be marked as outdated.
en/guides/framework-components.mdx Source changed, localizations will be marked as outdated.
en/guides/images.mdx Source changed, localizations will be marked as outdated.
en/guides/migrate-to-astro/from-nextjs.mdx Source changed, localizations will be marked as outdated.
en/guides/migrate-to-astro/from-nuxtjs.mdx Source changed, localizations will be marked as outdated.
en/guides/troubleshooting.mdx Source changed, localizations will be marked as outdated.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


const svg = await satori(
<div style={{ color: "black" }}>hello, world</div>,
html`<div style="color: black;">hello, world</div>`,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this how Satori works? This is the only thing that looks odd to me, so just double checking this is what you intended!

Image

Copy link
Copy Markdown
Member Author

@ArmandPhilippot ArmandPhilippot Mar 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is expected. But this is not Satori itself, this is an utility made by Nate (https://github.com/natemoo-re/satori-html) that allows to write html inside an html helper using backticks.

The previous example was the right syntax using Satori alone, but we can't have a <div> in a .ts file and Astro doesn't support .tsx endpoints. So we need an additional helper to write HTML as string instead.

Copy link
Copy Markdown
Member

@sarah11918 sarah11918 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one thing that I wanted to confirm is as intended, otherwise, great catches Armand! 🎉

@sarah11918 sarah11918 added the Merge Queue Approved and ready to be merged (wait for feature release if also labelled M-O-R)! label Mar 4, 2026
@sarah11918 sarah11918 merged commit 76baa4a into v6 Mar 4, 2026
10 checks passed
@sarah11918 sarah11918 deleted the armand/small-fixes-before-v6-launch branch March 4, 2026 16:24
@sarah11918 sarah11918 added this to the v6.0.0 docs milestone Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.0 code snippet update Updates a code sample: typo, outdated code etc. consistency/formatting Standardizing without changing docs content e.g. indenting, lists etc. Merge Queue Approved and ready to be merged (wait for feature release if also labelled M-O-R)! typo/link/grammar - quick fix! Quick fix for a link, typo, grammar/syntax error etc. Doesn't significantly change meaning of text.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants