Skip to content

Commit

Permalink
docs: minor
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Nov 21, 2024
1 parent 1fa3127 commit 29f75c3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/pages/config/+Page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,14 @@ pages/product/@id/+Page.jsx
pages/product/@id/+Layout.jsx
```

> The directory `(marketing)` is used for <Link href="/routing#groups">grouping</Link> and is ignored by <Link href="/filesystem-routing">Filesystem Routing</Link>.
> The directory `(marketing)` is ignored by <Link href="/filesystem-routing">Filesystem Routing</Link>: it's used for <Link href="/routing#groups">grouping</Link>.
Where:

- `pages/(marketing)/+Layout.jsx` applies to all pages living at `pages/(marketing)/**`
- `pages/admin-panel/+Layout.jsx` applies to all pages living at `pages/admin-panel/**`
- `pages/product/@id/+Layout.jsx` applies to one page `pages/product/@id/+Page.jsx`
> Technically `pages/product/@id/+Layout.jsx` applies to all pages at `/pages/product/@id/**` but there is only one page living there.
> Technically, `pages/product/@id/+Layout.jsx` applies to all pages at `/pages/product/@id/**` but there is only one page living there.
### Defaults

Expand Down

0 comments on commit 29f75c3

Please sign in to comment.