- 31 12月, 2020 1 次提交
-
-
由 Lee Robinson 提交于
Building off [this Slack conversation](https://vercel.slack.com/archives/CGD3XGSD7/p1597329727013900), this PR adds a top-level section to the documentation on authentication patterns. Please provide any and all comments! A few open thoughts I have: - ~Should this include code snippets from the related providers or stay very high-level? At what point do we delegate to the examples folder?~ Keep things high level and delegate to examples folder - ~Should this include any related cards at the bottom?~ Added to the bottom - ~Should other places in the documentation link back to here?~ Added link from routing - Should it be a top-level route, or be underneath advanced?
-
- 17 12月, 2020 1 次提交
-
-
由 Leo Toneff 提交于
This PR is an implementation of RFC #13276 (more specifically @banerjeesouvik's [suggestion](https://github.com/vercel/next.js/discussions/13276#discussioncomment-17874)) which solves #3322 by adding an extra parameter to the router events that'll allow you to see whether or not the route is shallow. This is a recreation of PR #13243.
-
- 25 11月, 2020 1 次提交
-
-
由 Luis Alvarez D 提交于
- Updated some links in docs that don't have the `.md` extension. Not required for our live docs but useful for the GitHub view. - Updated links that go to https://nextjs.org/docs to a relative path, that way they'll work for versioned docs - Updated the `Regex Path Matching` example to be consistent with the paragraph above and with the official example in /examples.
-
- 05 11月, 2020 1 次提交
-
-
由 JJ Kasper 提交于
Tweak `asPath` docs to mention `basePath` and `locale` will not be included in the value. Closes: https://github.com/vercel/next.js/issues/18782
-
- 23 10月, 2020 1 次提交
-
-
由 JJ Kasper 提交于
* Add initial i18n documentation * Apply suggestions from code review Co-authored-by: NTim Neutkens <tim@timneutkens.nl> * Apply suggestions from code review Co-authored-by: NLee Robinson <me@leerob.io> * Apply more suggestions * rephrase a bit more * Update doc Co-authored-by: NTim Neutkens <tim@timneutkens.nl> Co-authored-by: NLee Robinson <me@leerob.io> Co-authored-by: NTim Neutkens <timneutkens@me.com>
-
- 11 10月, 2020 1 次提交
-
-
由 Adebiyi Adedotun 提交于
A URL is correct, not An URL
-
- 08 9月, 2020 1 次提交
-
-
由 Luis Alvarez D 提交于
Closes https://github.com/vercel/next.js/issues/16633 - The docs and examples that use `as` have been updated to show how `href` can be used to get the same results - Added new examples and provided more details on current examples for more details on how `href` can be used. **Note:** With this change the usage of `as` becomes completely unrequired as I failed to find a good use case for it. Therefore documentation for `as` now includes: `Used for dynamic routes before Next.js 9.5.3`. But that should link to somewhere, either to a blog post or to the Upgrade Guide in our docs.
-
- 25 8月, 2020 1 次提交
-
-
由 Christian Pena Valerio 提交于
Take care of the other links that aren't working while browsing github. Related to: #16505
-
- 21 7月, 2020 1 次提交
-
-
由 Jan Potoms 提交于
Co-authored-by: NJoe Haddad <joe.haddad@zeit.co>
-
- 26 6月, 2020 1 次提交
-
-
由 Luis Alvarez D 提交于
[ch4109] Closes https://github.com/vercel/next.js/issues/14500 Our current docs for `next/router` use examples from both `useRouter` and `import Router from 'next/router'`, with this PR I'm unifying the API into `useRouter` (`withRouter` is still going to be mentioned multiple times as it is the HOC alternative) and no longer mentioning that you can import a global `Router` object from `next/router`, not sure if I should mention it at least once but that didn't seem to be required. I also did some structural changes to the docs for `next/router`, now every method starts with a description, then the implementation and explanation of the parameters of the method, and then the usage example, because every method uses the same `Usage` title the hash for them would be something like `#usage`, `#usage-1`, `#usage-2`, e.t.c, so I'm not very happy with this but it looks good. Feedback wanted
🙏
-
- 28 5月, 2020 1 次提交
-
-
由 Joe Haddad 提交于
-
- 22 5月, 2020 1 次提交
-
-
由 Luis Alvarez D 提交于
Co-authored-by: Nkodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
- 19 5月, 2020 1 次提交
-
-
由 Joe Haddad 提交于
-
- 12 5月, 2020 1 次提交
-
-
由 0xflotus 提交于
-
- 09 5月, 2020 1 次提交
-
-
由 Shu Uesugi 提交于
-
- 02 5月, 2020 3 次提交
-
-
由 Luis Alvarez D 提交于
-
由 Shu Uesugi 提交于
-
由 Luis Alvarez D 提交于
-
- 17 4月, 2020 1 次提交
-
-
由 Vitor Capretz 提交于
-
- 16 4月, 2020 1 次提交
-
-
由 Luis Alvarez D 提交于
-
- 06 4月, 2020 1 次提交
-
-
由 Luis Alvarez D 提交于
Co-authored-by: NTim Neutkens <timneutkens@me.com>
-
- 08 1月, 2020 1 次提交
-
-
由 Luis Alvarez D 提交于
* Updated docs for pathname * Apply suggestions from Tim Co-Authored-By: NTim Neutkens <tim@timneutkens.nl> * Removed trailing dots Co-authored-by: NTim Neutkens <tim@timneutkens.nl>
-
- 07 1月, 2020 1 次提交
-
-
由 Moritz Kneilmann 提交于
-
- 04 1月, 2020 1 次提交
-
-
由 Luis Alvarez D 提交于
* Added descriptions * Added descriptions to API Reference * Added descriptions to API Routes * Added descriptions to basic features * Added descriptions to the routing docs * Update exportPathMap.md Co-authored-by: NJoe Haddad <timer150@gmail.com>
-
- 23 12月, 2019 1 次提交
-
-
由 Luis Alvarez D 提交于
* Added the docs from Notion * Updated the links from notion to relative links * Added a routes manifest to the docs * Removed the <br> after examples toggle * Use the name of the section instead of Introduction * Fixed spelling errors * Optimize the content for Algolia * Add a paragraph for `pageProps` * Add welcome section * Transpile -> Compile * Update getting-started.md * Update getting-started.md * Update getting-started.md * Update getting-started.md * Update getting-started.md * Update getting-started.md * Update getting-started.md * Update getting-started.md * Update getting-started.md * Update getting-started.md * Test extra room between * Update getting-started.md * Update getting-started.md * Update getting-started.md * Update getting-started.md * Update getting-started.md * Update manifest.json * Update getting-started.md * Update getting-started.md * Add concepts section * Update pages.md * Update pages.md * Add data fetching section * Update pages.md * See how a card looks like * Undo card changes * Added related section to getting-started * Fixed wrong markdown syntax in the withRouter page * Moved the server-side-and-client-side section * Updated next-cli reference * updated getInitialProps section * Minor fixes * Added more Related sections * Add html to the related section in getting-started * Use small for the card * Use cards for all related sections * Added src directory docs * Added src directory to the manifest * Add note about API routes in next export * Add initial data fetching docs (private until new methods are released) * Fix typos * Improve wording * Update getting-started.md * Update getting-started.md * Move advanced concepts to advanced section * Hide server-side vs client-side * Move AMP support * Move typescript into one page * Add routing concepts page * Remove introduction page * Update section on different route types * Update routing.md * Update routing.md * Update routing.md * Update routing.md * Combine router injection pages * Update pages.md * Update routing.md * Update using-link.md * Update using-link.md * Update typescript.md * Move the API Routes typescript to basic features * Added links to the typescript section * Updated links to useRouter and withRouter * Add singleLevel prop to manifest * Added single page for router docs * Updated description * Updated the routes in the manifest * Add data fetching section * Update data-fetching.md * Update data-fetching.md * Update dynamic-routes.md * Update manifest.json * Only use the single router API page * Moved the concepts pages * Updated links * Removed extra space * Updated title for Router API * Added a description with frontmatter * Add open prop to the manifest * Added datafetching section to API Reference * Updated links to the getInitialProps reference * Moved some sections to API * Added next/head to API reference * Added next/link to the API Reference * Removed the populating-head section * Updated links to the new next/link API * Added link from dynamic-routes to next/link docs * use a paragraph * Added next/router API * Added next/amp * Updated the docs for next/amp * Moved the AMP support folder * Updated title * Content updates * Added more links to the data fetching section * Added links from the API to introductions * changing the router API * Updates to the router API * Updated the routing section * life improvements * Added shallow routing section * Small fix * Removed old routing sections * Updated link to shallow routing * Removed unrequired page * Removed /pages * Update data-fetching.md * Add initial deployments section * Update manifest.json * Update introduction.md * Update deployment doc * Add static export section updates * link ssg/ssr * Update deployment.md * Add syntax highlighting Co-authored-by: NTim Neutkens <tim@timneutkens.nl>
-