Conversation
✅ Deploy Preview for astro-docs-2 ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
|
Hey, this looks great! I noticed that |
|
Yeah I saw
Yeah it's available now! I'll update this i the endpoint page 👍 |
Oh actually looks like there's the sentence in the endpoint docs:
So I think we don't need to add extra docs. I also pushed changes to add types and the code example for |
delucis
left a comment
There was a problem hiding this comment.
Thanks @bluwy! Made some suggestions following up on my review of withastro/astro#4986
I made some assumptions that were maybe wrong judging by your final addition here… If so, maybe we need to make a note to document getStaticPaths in SSR which I didn’t think was supported.
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
|
Applied the suggestions. Thanks for the thorough review! |
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
What kind of changes does this PR include?
Description
New feature docs for withastro/astro#4986
Add API reference for endpoint context
The docs are pretty simple for now. Let me know if there's anything that can be improved!
Once the heading names are confirmed, I'll also update withastro/astro#4986 to have the JSDoc point to the anticipated link.