Skip to content

Commit

Permalink
Remove mention of the Next.js site repo from docs (vercel#19504)
Browse files Browse the repository at this point in the history
  • Loading branch information
lfades authored and kamermans committed Dec 14, 2020
1 parent 340ffec commit 814b1c6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/routing/dynamic-routes.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,6 @@ The `query` objects are as follows:
{ "slug": ["a", "b"] } // `GET /post/a/b` (multi-element array)
```

> A good example of optional catch all routes is the Next.js docs, a single page called [pages/docs/[[...slug]].js](https://github.com/vercel/next-site/blob/master/pages/docs/%5B%5B...slug%5D%5D.js) takes care of all the docs you're currently looking at.
## Caveats

- Predefined routes take precedence over dynamic routes, and dynamic routes over catch all routes. Take a look at the following examples:
Expand Down

0 comments on commit 814b1c6

Please sign in to comment.