Skip to content

Conversation

@lilnasy
Copy link
Contributor

@lilnasy lilnasy commented Jan 12, 2024

Description (required)

Documents new options in the adapter API being introduced in Astro 4.2

Related issues & labels (optional)

@vercel
Copy link

vercel bot commented Jan 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview Jan 17, 2024 5:40pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
docs-i18n ⬜️ Ignored (Inspect) Visit Preview Jan 17, 2024 5:40pm

@sarah11918 sarah11918 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!) minor-release For the next minor release; in the milestone, "merge queue" when approved by Sarah! labels Jan 12, 2024
@sarah11918 sarah11918 added this to the 4.2.0 milestone Jan 12, 2024
Copy link
Contributor

@VoxelMC VoxelMC left a comment

Choose a reason for hiding this comment

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

Hello!!

I know it's still a draft, but should we entertain the idea of having some Expressive Code here? Since we are not inlining the options in the function, it might be helpful if the eyes have somewhere to snap to!

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.

Just some minor polishing here, @lilnasy ! Not much work at all!

Just to double-triple check: did you also go through closely all the code examples on this page and update any that might be affected? (I don't see any updates/corrects in code, so does that mean we were good?)

@lilnasy
Copy link
Contributor Author

lilnasy commented Jan 15, 2024

did you also go through closely all the code examples on this page
Not yet. I meant to take a look at the deployed preview for a final look. I'll do that now.

Co-authored-by: Sarah Rainsberger <[email protected]>
Co-authored-by: voxel!() <[email protected]>
@lilnasy
Copy link
Contributor Author

lilnasy commented Jan 15, 2024

There seems to be nothing else to update on the page. I do want to order RenderOptions alphabetically.

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.

@lilnasy Would love one final review from you on this, as I made some tiny adjustments (e.g. linked within-page to headings, and then linked those to other pages)

But on my end, this feels good to go!

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

lilnasy commented Jan 17, 2024

I was watching 👀. Love the edit around RenderOptions. Looks great to me!

Copy link
Contributor

@VoxelMC VoxelMC left a comment

Choose a reason for hiding this comment

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

Great work so far!

Just some cleanup here, let me know if it's incorrect at all!

@lilnasy lilnasy merged commit d06ad1a into main Jan 17, 2024
@lilnasy lilnasy deleted the adapter-enhancements branch January 17, 2024 21:27
@TheOtterlord TheOtterlord restored the adapter-enhancements branch January 17, 2024 21:39
ematipico pushed a commit that referenced this pull request Jan 26, 2024
* Adapter enhancements in Astro 4.2

* Apply suggestions from code review

Co-authored-by: Alex Nguyen <[email protected]>

* Apply suggestions from code review

Co-authored-by: Sarah Rainsberger <[email protected]>
Co-authored-by: voxel!() <[email protected]>

* routeData, locals -> locals, routeData

* thanks for the complex punctuation Arsh

* line spacing

* explain/link what locals is before the example

* line spacing

* updates link strategy

* fix link

* fix more stupid links

---------

Co-authored-by: Alex Nguyen <[email protected]>
Co-authored-by: Sarah Rainsberger <[email protected]>
Co-authored-by: voxel!() <[email protected]>
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" when approved by Sarah!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants