Skip to content

Remove unused import from content-collections.mdx - #14479

Closed
tan911 wants to merge 1 commit into
withastro:mainfrom
tan911:patch-1
Closed

Remove unused import from content-collections.mdx#14479
tan911 wants to merge 1 commit into
withastro:mainfrom
tan911:patch-1

Conversation

@tan911

@tan911 tan911 commented Aug 28, 2026

Copy link
Copy Markdown

This PR removes the unused file import from a documentation code example.

While file is used in other examples below, it is not used in this particular example. Importing file here is therefore unnecessary and may confuse readers about whether it is required for this example.

This change does not affect fuctionality.

Description (required)

References

  • Closes #...
  • Related to ...
  • For Astro version x.x.x
  • Discord username: ...

This PR removes the unused `file` import from a documentation code example. 

While `file` is used in other examples below, it is not used in this particular example. Importing `file` here is therefore unnecessary and may confuse readers about whether it is required for this example.

This change does not affect fuctionality.
@astrobot-houston

Copy link
Copy Markdown
Contributor

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.
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.

@astrobot-houston

Copy link
Copy Markdown
Contributor

Hello! Thank you for opening your first PR to Astro’s Docs! 🎉

Here’s what will happen next:

  1. Our GitHub bots will run to check your changes.
    If they spot any broken links you will see some error messages on this PR.
    Don’t hesitate to ask any questions if you’re not sure what these mean!

  2. In a few minutes, you’ll be able to see a preview of your changes on Netlify 🥳.

  3. One or more of our maintainers will take a look and may ask you to make changes.
    We try to be responsive, but don’t worry if this takes a few days.

@delucis

delucis commented Aug 28, 2026

Copy link
Copy Markdown
Member

Hi @tan911 — while unused, showing both loaders here is intentional as it’s supposed to be a quick overview/introduction to the API so that people can quickly see that both of these loaders are available. Thanks nonetheless for the PR!

@delucis delucis closed this Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants