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

Commits on Jul 8, 2023

  1. fix metadata-related typo in MDX documentation

    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
    BrennanColberg committed Jul 8, 2023
    Configuration menu
    Copy the full SHA
    c0896ed View commit details
    Browse the repository at this point in the history