-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: update hook signature #10410
fix: update hook signature #10410
Conversation
✅ Deploy Preview for astro-docs-2 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for fixing @ematipico !
Hi there! I think this PR, while necessary, won't close the referred issue because we need some changes in the astro package to have the config matter for See also https://github.com/withastro/astro/pull/12763/files |
Thank you @rbsummers -- can you let me know: Is the proposal in this PR a change to correct, existing behavior or does this change rely on the linked PR being released to be correct? Docs PRs are merged independently of feature releases, and publish live immediately. So, it's important to know whether this is a fix to incorrect (current, published) documentation, or whether this change is only correct when the linked PR is released in the next patch version of Astro. It's also OK to have multiple docs PRs if, for example, something is immediately wrong and needs correcting now, but then another PR will be needed to accompany the linked PRs release. I'm just not sure the state of this feature right now, and it would help me to know so I can make sure we're merging at the correct time! 🙌 |
Hi @sarah11918, It was a tricky situation because the feature was implemented (the function If merging this makes the doc change immediately, maybe we need to hold on a bit until the version with the fix (5.0.10 I guess?) is released and then merge. |
Fixing the API signature should be done regardless of the fix of the code. |
@ematipico You have my approval to merge whatever is correct now! I just wasn't sure what was happening. 😄 I agree, if this PR is entirely correct now, my suggestion would be to merge it! |
I updated the PR description to mention that I noticed the mistake in an issue, but PR won't fix it the issue in core. |
See #10410 Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
* i18n(zh-cn): Update `mixed-content-data-collection-error.mdx` * Update `mixed-content-data-collection-error.mdx` * Update `content-collection-type-mismatch-error.mdx` * [WIP]i18n(zh-cn): Add `v5.mdx` * [WIP] Update `v5.mdx` * Update v5.mdx * fix: broken link in `content-collections.mdx` * fix: broken link in `content-schema-contains-slug-error.mdx` * fix: part of broken link in `v5.mdx` * Update `integrations-reference.mdx` * Update `integrations-reference.mdx` * fix: broken link in `v5.mdx` * fix: broken link in `integrations-reference.mdx` * fix: broken link in `adapter-reference.mdx` * Update `integrations-reference.mdx` from #10410 * Update src/content/docs/zh-cn/reference/errors/content-collection-type-mismatch-error.mdx * Update src/content/docs/zh-cn/reference/errors/mixed-content-data-collection-error.mdx * Update src/content/docs/zh-cn/guides/upgrade-to/v5.mdx * Update src/content/docs/zh-cn/guides/upgrade-to/v5.mdx * Update src/content/docs/zh-cn/guides/upgrade-to/v5.mdx * Update src/content/docs/zh-cn/guides/upgrade-to/v5.mdx * Update src/content/docs/zh-cn/guides/content-collections.mdx * Update src/content/docs/zh-cn/reference/errors/content-collection-type-mismatch-error.mdx Co-authored-by: liruifengv <liruifeng1024@gmail.com> * Update src/content/docs/zh-cn/reference/errors/mixed-content-data-collection-error.mdx Co-authored-by: liruifengv <liruifeng1024@gmail.com> * Update src/content/docs/zh-cn/reference/errors/content-schema-contains-slug-error.mdx * Update src/content/docs/zh-cn/reference/errors/mixed-content-data-collection-error.mdx * Update src/content/docs/zh-cn/guides/upgrade-to/v5.mdx Co-authored-by: liruifengv <liruifeng1024@gmail.com> * Update src/content/docs/zh-cn/guides/upgrade-to/v5.mdx Co-authored-by: liruifengv <liruifeng1024@gmail.com> * Update src/content/docs/zh-cn/guides/upgrade-to/v5.mdx Co-authored-by: liruifengv <liruifeng1024@gmail.com> * Update src/content/docs/zh-cn/guides/upgrade-to/v5.mdx Co-authored-by: liruifengv <liruifeng1024@gmail.com> * Update src/content/docs/zh-cn/guides/upgrade-to/v5.mdx Co-authored-by: liruifengv <liruifeng1024@gmail.com> * Update src/content/docs/zh-cn/guides/upgrade-to/v5.mdx Co-authored-by: liruifengv <liruifeng1024@gmail.com> * Update src/content/docs/zh-cn/guides/upgrade-to/v5.mdx Co-authored-by: liruifengv <liruifeng1024@gmail.com> * Update src/content/docs/zh-cn/guides/upgrade-to/v5.mdx Co-authored-by: liruifengv <liruifeng1024@gmail.com> * Update src/content/docs/zh-cn/guides/upgrade-to/v5.mdx Co-authored-by: liruifengv <liruifeng1024@gmail.com> * Update src/content/docs/zh-cn/guides/upgrade-to/v5.mdx Co-authored-by: liruifengv <liruifeng1024@gmail.com> * Update `v4.mdx` from discussion #10702 (comment) --------- Co-authored-by: liruifengv <liruifeng1024@gmail.com>
Description (required)
The documentation is incorrect, and the
updateConfig
is for vite, not Astro.I wonder if we should change its name...
Related issues & labels (optional)
I noticed the mistake in withastro/astro#12372