Skip to content

Commit

Permalink
Remove mention of the Next.js site repo from docs (#19504)
Browse files Browse the repository at this point in the history
Fixes #19503
  • Loading branch information
lfades authored Nov 25, 2020
1 parent 0ed8152 commit 86a0c7b
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 86a0c7b

Please sign in to comment.