sanity-plugin-dashboard-widget-netlify 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# Sanity Dashboard Widget: Netlify
|
|
2
2
|
|
|
3
|
+
> This is a **Sanity Studio v2** plugin.
|
|
4
|
+
> For the v3 version, please refer to the [v3-branch](https://github.com/sanity-io/sanity-plugin-dashboard-widget-netlify).
|
|
5
|
+
|
|
3
6
|
Sanity Studio Dashboard Widget for triggering Netlify builds.
|
|
4
7
|
|
|
5
8
|
## Installing
|
|
@@ -7,11 +10,30 @@ Sanity Studio Dashboard Widget for triggering Netlify builds.
|
|
|
7
10
|
### Install the dashboard plugin
|
|
8
11
|
To get dashboard support in Sanity Studio in general:
|
|
9
12
|
|
|
10
|
-
|
|
13
|
+
```sh
|
|
14
|
+
yarn add @sanity/dashboard@studio-v2
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Next, add `"@sanity/dashboard"` to `sanity.json` plugins array:
|
|
18
|
+
```json
|
|
19
|
+
"plugins": [
|
|
20
|
+
"@sanity/dashboard"
|
|
21
|
+
]
|
|
22
|
+
```
|
|
11
23
|
|
|
12
24
|
### Install the Netlify widget plugin
|
|
13
25
|
|
|
14
|
-
|
|
26
|
+
```sh
|
|
27
|
+
yarn add sanity-plugin-dashboard-widget-netlify@studio-v2
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Next, add `"dashboard-widget-netlify"` to `sanity.json` plugins array:
|
|
31
|
+
```json
|
|
32
|
+
"plugins": [
|
|
33
|
+
"@sanity/dashboard",
|
|
34
|
+
"dashboard-widget-netlify"
|
|
35
|
+
]
|
|
36
|
+
```
|
|
15
37
|
|
|
16
38
|
## Configuring
|
|
17
39
|
|