Skip to content

Conversation

@bluwy
Copy link
Member

@bluwy bluwy commented Oct 11, 2024

Description (required)

Add documentation for custom mode support. You can now pass any string to --mode and the mode inline config.

It also adds the --devOutput flag support for astro build to output a development-based build. Previously I don't believe there's an easy way, even if you had set --mode development (it may only partially work).

This is a feature and shouldn't have any breaking changes, so there's no entry in the migration guide.

Related issues & labels (optional)

  • Closes #
  • Suggested label:

For Astro version: 5.0. See astro PR withastro/astro#12150

@bluwy bluwy added add new content Document something that is not in docs. May require testing, confirmation, or affect other pages. 5.0.0-beta labels Oct 11, 2024
@netlify
Copy link

netlify bot commented Oct 11, 2024

Deploy Preview for astro-docs-2 ready!

Name Link
🔨 Latest commit 59a88e6
🔍 Latest deploy log https://app.netlify.com/sites/astro-docs-2/deploys/672396f8648de700083e29e6
😎 Deploy Preview https://deploy-preview-9641--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.

@sarah11918 sarah11918 added the merge-on-release Don't merge this before the feature is released! (MQ=approved but WAIT for feature release!) label Oct 11, 2024
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 great! @bluwy! I stole a bit from the PR changeset, and I think the environment variable stuff should become its own smaller section AFTER introducing variables in general (maybe we even give it a sub heading? ), so see what you think!

bluwy and others added 2 commits October 14, 2024 11:54
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
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 great @bluwy ! Just had a question about adding more info in the CLI reference page. I'm not sure myself, so I'll leave it to you!

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
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 great @bluwy 🙌

@sarah11918 sarah11918 added the Merge Queue Approved and ready to be merged (wait for feature release if also labelled M-O-R)! label Oct 21, 2024
Copy link
Contributor

@casungo casungo left a comment

Choose a reason for hiding this comment

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

LGTM!

@sarah11918 sarah11918 merged commit 8184870 into 5.0.0-beta Oct 31, 2024
5 checks passed
@sarah11918 sarah11918 deleted the plt-2220-custom-mode-docs branch October 31, 2024 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

5.0.0-beta 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!)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants