Skip to content
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 metadata-related typo in MDX documentation #52446

Merged
merged 1 commit into from Jul 9, 2023

Conversation

BrennanColberg
Copy link
Contributor

The docs at https://nextjs.org/docs/pages/building-your-application/configuring/mdx currently advise you to set metadata manually by writing, for instance:

export const meta = {

But this does nothing, because in reality this should be "metadata":

export const metadata = {

according to this other documentation https://nextjs.org/docs/app/api-reference/functions/generate-metadata and my experience

The docs at https://nextjs.org/docs/pages/building-your-application/configuring/mdx currently advise you to set metadata manually by writing, for instance:
```typescript
export const meta = {
```
But this does nothing, because in reality this should be "metadata":
```typescript
export const metadata = {
```
according to this other documentation https://nextjs.org/docs/app/api-reference/functions/generate-metadata and my experience
Copy link
Member

@huozhi huozhi left a comment

Choose a reason for hiding this comment

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

Thanks!

@ijjk
Copy link
Member

ijjk commented Jul 8, 2023

Allow CI Workflow Run

  • approve CI run for commit: c0896ed

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

1 similar comment
@ijjk
Copy link
Member

ijjk commented Jul 8, 2023

Allow CI Workflow Run

  • approve CI run for commit: c0896ed

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

@BrennanColberg
Copy link
Contributor Author

BrennanColberg commented Jul 9, 2023

@huozhi CI checks are failing at the "Set up runner" step with this error:

Job unable able to validate for BrennanColberg for PR #52446

I am unable to locate the source of this error in the codebase, find relevant instruction in any contributor guides, or otherwise diagnose it and figure out how to fix/merge. Could you please advise?

@huozhi huozhi merged commit 99490de into vercel:canary Jul 9, 2023
52 checks passed
@huozhi
Copy link
Member

huozhi commented Jul 9, 2023

@BrennanColberg it was CI flaky issue, fixed and merged 🙏 thanks

@github-actions github-actions bot added the locked label Aug 9, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants