Skip to content

fix: consistent headings format in content-loader-reference.mdx#13317

Merged
ArmandPhilippot merged 4 commits intov6from
armand/consistent-headings-content-loader-ref
Feb 27, 2026
Merged

fix: consistent headings format in content-loader-reference.mdx#13317
ArmandPhilippot merged 4 commits intov6from
armand/consistent-headings-content-loader-ref

Conversation

@ArmandPhilippot
Copy link
Copy Markdown
Member

@ArmandPhilippot ArmandPhilippot commented Feb 26, 2026

Same as #13315 and #13316

For context: In #13021 (comment), we decided we preferred parent.child as headings instead of child both for readability and linking. We already use this format in some modules reference (e.g. envField) but most of the modules were using the old format (e.g. action).

Description (required)

Updates content-loader-reference.mdx to use a consistent heading format (parent.child).

I also removed two headings (Loader properties and Live loader properties) because we usually don't use those... and I feel this is no longer necessary with the parent.child notation. (btw we had a nesting issue for one of them)

This one implies a lot of links updates... but I personally think this is nice (e.g. #entries-1 vs #livedatacollectionentries).

Related issues & labels (optional)

  • Suggested label: v6, consistency/formatting

@ArmandPhilippot ArmandPhilippot added consistency/formatting Standardizing without changing docs content e.g. indenting, lists etc. 6.0 labels Feb 26, 2026
@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 26, 2026

Deploy Preview for astro-docs-2 ready!

Name Link
🔨 Latest commit a851e92
🔍 Latest deploy log https://app.netlify.com/projects/astro-docs-2/deploys/69a1be815a229a000871ab8d
😎 Deploy Preview https://deploy-preview-13317--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 Feb 26, 2026
@astrobot-houston
Copy link
Copy Markdown
Contributor

astrobot-houston commented Feb 26, 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/guides/content-collections.mdx Source changed, localizations will be marked as outdated.
en/guides/markdown-content.mdx Source changed, localizations will be marked as outdated.
en/guides/upgrade-to/v6.mdx Localization changed, will be marked as complete.
en/reference/content-loader-reference.mdx Source changed, localizations will be marked as outdated.
en/reference/integrations-reference.mdx Source changed, localizations will be marked as outdated.
en/reference/modules/astro-content.mdx Source changed, localizations will be marked as outdated.
ru/reference/integrations-reference.mdx Localization changed, will be marked as complete.
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.

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.

Agreed! I love being able to get rid of #cachehint-2 😂 Great improvement!

@ArmandPhilippot
Copy link
Copy Markdown
Member Author

Thanks! I take this as an explicit approval... If not, please scream while I update the branch. 😄

@ArmandPhilippot ArmandPhilippot merged commit ff5b211 into v6 Feb 27, 2026
10 checks passed
@ArmandPhilippot ArmandPhilippot deleted the armand/consistent-headings-content-loader-ref branch February 27, 2026 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.0 consistency/formatting Standardizing without changing docs content e.g. indenting, lists etc. 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.

3 participants