next.js
32c9b7bd - Documentation Fix: Typo and URL Correction (#73397)

Commit
1 year ago
Documentation Fix: Typo and URL Correction (#73397) ### 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. --- --------- Co-authored-by: Sam Ko <sam@vercel.com>
Parents
Loading