Skip to content

on-demand rendering for experimental Live Content collections#11910

Merged
sarah11918 merged 1 commit intomainfrom
live-on-demand
Jun 19, 2025
Merged

on-demand rendering for experimental Live Content collections#11910
sarah11918 merged 1 commit intomainfrom
live-on-demand

Conversation

@sarah11918
Copy link
Member

This PR adds more explicit guidance re: on-demand rendering required to use live content collections. Includes:

  • a prompt to make sure you have an adapter configured before adding the experimental feature

  • the following standard line for opting out of prerendering on an individual page for any .astro code snippet:

export const prerender = false; // Not needed in 'server' mode

@astrobot-houston
Copy link
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/reference/experimental-flags/live-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.

@sarah11918 sarah11918 changed the title on-demand rendering forexperimental Live Content collections on-demand rendering for experimental Live Content collections Jun 19, 2025
@netlify
Copy link

netlify bot commented Jun 19, 2025

Deploy Preview for astro-docs-2 ready!

Name Link
🔨 Latest commit ab63301
🔍 Latest deploy log https://app.netlify.com/projects/astro-docs-2/deploys/6854126cf61b6c0008c10ff5
😎 Deploy Preview https://deploy-preview-11910--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.

@sarah11918 sarah11918 added the code snippet update Updates a code sample: typo, outdated code etc. label Jun 19, 2025
@sarah11918 sarah11918 added this to the 5.10.0 milestone Jun 19, 2025
@sarah11918 sarah11918 merged commit 1098a4a into main Jun 19, 2025
11 checks passed
@sarah11918 sarah11918 deleted the live-on-demand branch June 19, 2025 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code snippet update Updates a code sample: typo, outdated code etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants