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

Documentation Fix: Typo and URL Correction #73397

Merged
merged 6 commits into from
Dec 2, 2024
Merged

Conversation

betterthanhajin
Copy link
Contributor

What?

This pull request addresses two minor documentation issues in the Next.js project:

  1. A typo fix in the API reference for the cacheLife function.
  2. A correction of an incorrect URL for the experimental.typedRoutes in the Turbopack documentation.

Why?

Accurate documentation is crucial for developers to effectively use the features of Next.js. By ensuring the clarity and correctness of these documents, we improve the user experience and aid in preventing potential confusion when navigating and implementing the API features.

How?

  • Typo Correction: In docs/01-app/03-api-reference/04-functions/cacheLife.mdx, the cacheLife function documentation had a capitalization error in the phrase “The cacheLife function.” This has been corrected to use the correct lowercase styling: “the cacheLife function”.

  • URL Correction: In docs/01-app/03-api-reference/08-turbopack.mdx, the link pointing to experimental.typedRoutes was incorrect. The link has been updated to the correct URL:
    https://nextjs.org/docs/app/api-reference/next-config-js/typedRoutes.

These changes ensure the accuracy and readability of the documentation, aligning it with Next.js standards.


@ijjk ijjk added the Documentation Related to Next.js' official documentation. label Dec 1, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Copy link
Member

@samcx samcx left a comment

Choose a reason for hiding this comment

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

Thank you for submitting a PR!

:lgtm:

samcx added 2 commits December 1, 2024 18:20
@samcx samcx enabled auto-merge (squash) December 2, 2024 02:31
@samcx samcx merged commit 32c9b7b into vercel:canary Dec 2, 2024
39 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Documentation Related to Next.js' official documentation. locked
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants