Skip to content

Document new astro:route:setup hook#9064

Merged
sarah11918 merged 8 commits into
4.14.0from
route-setup-hook
Aug 14, 2024
Merged

Document new astro:route:setup hook#9064
sarah11918 merged 8 commits into
4.14.0from
route-setup-hook

Conversation

@bluwy
Copy link
Copy Markdown
Member

@bluwy bluwy commented Aug 12, 2024

Description (required)

Adds documentation for the new astro:route:setup hook based on the core PR below.

The main use of this new hook is to configure route options dynamically (in this case, only the prerender option for now). See the core PR for more info!

Related issues & labels (optional)

  • Closes #
  • Suggested label:

For Astro version: 4.14. See astro PR withastro/astro#11657

@bluwy bluwy added add new content Document something that is not in docs. May require testing, confirmation, or affect other pages. merge-on-release Don't merge this before the feature is released! (MQ=approved but WAIT for feature release!) labels Aug 12, 2024
@netlify
Copy link
Copy Markdown

netlify Bot commented Aug 12, 2024

Deploy Preview for astro-docs-2 ready!

Name Link
🔨 Latest commit 19bf874
🔍 Latest deploy log https://app.netlify.com/sites/astro-docs-2/deploys/66bb9dbe79b92800084ba6aa
😎 Deploy Preview https://deploy-preview-9064--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 site configuration.

@astrobot-houston
Copy link
Copy Markdown
Contributor

astrobot-houston commented Aug 12, 2024

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

Locale File Note
en reference/integrations-reference.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.

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.

Thank you for making this so easy for me, @bluwy 💪

I left a couple of quick suggestions for how I could envsion making this a bit more future-proof. See what you think, and whether this makes any sense!

Comment thread src/content/docs/en/reference/integrations-reference.mdx Outdated
Comment thread src/content/docs/en/reference/integrations-reference.mdx Outdated
Comment thread src/content/docs/en/reference/integrations-reference.mdx Outdated
@sarah11918 sarah11918 added the minor-release For the next minor release; in the milestone, "merge queue" = approved for merging on release day. label Aug 13, 2024
bluwy and others added 2 commits August 13, 2024 22:07
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
@bluwy
Copy link
Copy Markdown
Member Author

bluwy commented Aug 13, 2024

I've added and updated the route.prerender section

@sarah11918 sarah11918 changed the base branch from main to 4.14.0 August 13, 2024 17:54
@sarah11918 sarah11918 added the Merge Queue Approved and ready to be merged (wait for feature release if also labelled M-O-R)! label Aug 13, 2024
Comment thread src/content/docs/en/reference/integrations-reference.mdx Outdated
@sarah11918 sarah11918 added this to the 4.14 milestone Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

add new content Document something that is not in docs. May require testing, confirmation, or affect other pages. Merge Queue Approved and ready to be merged (wait for feature release if also labelled M-O-R)! merge-on-release Don't merge this before the feature is released! (MQ=approved but WAIT for feature release!) minor-release For the next minor release; in the milestone, "merge queue" = approved for merging on release day.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants