Skip to content

Commit 525dcab

Browse files
authored
chore: fix relative paths on models page (#1968)
1 parent fe94c32 commit 525dcab

File tree

1 file changed

+2
-2
lines changed
  • docusaurus/docs/dev-docs/backend-customization

1 file changed

+2
-2
lines changed

docusaurus/docs/dev-docs/backend-customization/models.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ General settings for the model can be configured with the following parameters:
8383
| `kind`<br /><br />_Optional,<br/>only for content-types_ | String | Defines if the content-type is:<ul><li>a collection type (`collectionType`)</li><li>or a single type (`singleType`)</li></ul> |
8484

8585
```json
86-
// ./api/[api-name]/content-types/restaurant/schema.json
86+
// ./src/api/[api-name]/content-types/restaurant/schema.json
8787

8888
{
8989
"kind": "collectionType",
@@ -653,7 +653,7 @@ Lifecycle hooks are functions that take an `event` parameter, an object with the
653653

654654
### Declarative and programmatic usage
655655

656-
To configure a content-type lifecycle hook, create a `lifecycles.js` file in the `./api/[api-name]/content-types/[content-type-name]/` folder.
656+
To configure a content-type lifecycle hook, create a `lifecycles.js` file in the `./src/api/[api-name]/content-types/[content-type-name]/` folder.
657657

658658
Each event listener is called sequentially. They can be synchronous or asynchronous.
659659

0 commit comments

Comments
 (0)