fix: docs build
|
@ -27,4 +27,4 @@ if (strapi.plugin('config-sync')) {
|
|||
}
|
||||
```
|
||||
|
||||
If you want to read more about what the different values of a config type actually mean please read the in depth [custom types](/config-sync/config-types#custom-types) docs
|
||||
If you want to read more about what the different values of a config type actually mean please read the in depth [custom types](/config-types#custom-types) docs
|
||||
|
|
|
@ -6,7 +6,7 @@ slug: /configuration/custom-types
|
|||
|
||||
# Custom types
|
||||
|
||||
With this setting you can register your own custom config types. This is an array which expects objects with at least the `configName`, `queryString` and `uid` properties. Read more about registering custom types in the [Custom config types](/config-sync/config-types#custom-types) documentation.
|
||||
With this setting you can register your own custom config types. This is an array which expects objects with at least the `configName`, `queryString` and `uid` properties. Read more about registering custom types in the [Custom config types](/config-types#custom-types) documentation.
|
||||
|
||||
| Name | Details |
|
||||
| ---- | ------- |
|
||||
|
|
|
@ -10,4 +10,4 @@ This plugin ships with a React app which can be accessed from the settings page
|
|||
**Pro tip:**
|
||||
By clicking on one of the items in the diff table you can see the exact difference between sync dir and database in a git-style diff viewer.
|
||||
|
||||
<img src="/img/assets/config-sync/admin-diff-viewer.png" alt="Config diff in admin" />
|
||||
<img src="/img/assets/admin-diff-viewer.png" alt="Config diff in admin" />
|
||||
|
|
|
@ -34,7 +34,7 @@ These 4 types are by default registered in the sync process.
|
|||
|
||||
Your custom types can be registered through the `customTypes` plugin config. This is a setting that can be set in the `config/plugins.js` file in your project.
|
||||
|
||||
_Read more about the `config/plugins.js` file [here](/config-sync/configuration)._
|
||||
_Read more about the `config/plugins.js` file [here](/configuration)._
|
||||
|
||||
You can register a type by giving the `customTypes` array an object which contains at least the following 3 properties:
|
||||
|
||||
|
|
|
@ -63,6 +63,6 @@ After successful installation you have to rebuild the admin UI so it'll include
|
|||
|
||||
The **Config Sync** plugin should now appear in the **Settings** section of your Strapi app.
|
||||
|
||||
To start tracking your config changes you have to make the first export. This will dump all your configuration data to the `/config/sync` directory. You can export either through [the CLI](/config-sync/cli) or [Strapi admin panel](/config-sync/admin-gui)
|
||||
To start tracking your config changes you have to make the first export. This will dump all your configuration data to the `/config/sync` directory. You can export either through [the CLI](/cli) or [Strapi admin panel](/admin-gui)
|
||||
|
||||
Enjoy 🎉
|
||||
|
|
Before Width: | Height: | Size: 164 KiB After Width: | Height: | Size: 164 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 321 KiB |
Before Width: | Height: | Size: 102 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 90 KiB |
Before Width: | Height: | Size: 114 KiB |
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 2.1 KiB |