Skip to content

Conversation

florian-lefebvre
Copy link
Member

Description (required)

Related issues & labels (optional)

  • Closes #
  • Suggested label:

For Astro version: 6.0. See astro PR #14494.

@florian-lefebvre florian-lefebvre added this to the v6.0.0 docs milestone Oct 6, 2025
Copy link

netlify bot commented Oct 6, 2025

Deploy Preview for astro-docs-2 ready!

Name Link
🔨 Latest commit 0ac087f
🔍 Latest deploy log https://app.netlify.com/projects/astro-docs-2/deploys/68e5155b8e0a830008340fee
😎 Deploy Preview https://deploy-preview-12510--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.

@github-actions github-actions bot added the i18n Anything to do with internationalization & translation efforts - ask @YanThomas for help! label Oct 6, 2025
@astrobot-houston
Copy link
Contributor

astrobot-houston commented Oct 6, 2025

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/guides/upgrade-to/v6.mdx Source changed, localizations will be marked as outdated.
en/reference/experimental-flags/heading-id-compat.mdx Source removed, will stop being tracked.
es/reference/experimental-flags/heading-id-compat.mdx Localization removed, will be marked as missing.
fr/reference/experimental-flags/heading-id-compat.mdx Localization removed, will be marked as missing.
ko/reference/experimental-flags/heading-id-compat.mdx Localization removed, will be marked as missing.
zh-cn/reference/experimental-flags/heading-id-compat.mdx Localization removed, will be marked as missing.
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.

@florian-lefebvre florian-lefebvre marked this pull request as ready for review October 6, 2025 09:17
Copy link
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.

Looks good, but see my comment re: including how to build a custom rehype plugin inside this guide 😅


2. Create a custom rehype plugin that will generate headings IDs like Astro v5:

```js title="plugins/rehype-slug.mjs"
Copy link
Member Author

Choose a reason for hiding this comment

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

Is there a reason why you used js instead of ts?

Copy link
Member

Choose a reason for hiding this comment

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

Mostly because that's what most of our examples do. But also because it means you can inline it in your config file if you like even if that is .mjs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.0 i18n Anything to do with internationalization & translation efforts - ask @YanThomas for help!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants