Skip to content

Commit a6527c4

Browse files
authored
Merge pull request #4849 from marcduiker/fix-code-tabs
Fix missing tab headers
2 parents c411f9d + 565894d commit a6527c4

File tree

7 files changed

+74
-74
lines changed

7 files changed

+74
-74
lines changed

daprdocs/content/en/reference/components-reference/supported-bindings/blobstorage.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,14 @@ To perform a create blob operation, invoke the Azure Blob Storage binding with a
8686
##### Save text to a random generated UUID blob
8787

8888
{{< tabpane text=true >}}
89-
{{% tab %}}
89+
{{% tab "Windows" %}}
9090
On Windows, utilize cmd prompt (PowerShell has different escaping mechanism)
9191
```bash
9292
curl -d "{ \"operation\": \"create\", \"data\": \"Hello World\" }" http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
9393
```
9494
{{% /tab %}}
9595

96-
{{% tab %}}
96+
{{% tab "Linux" %}}
9797
```bash
9898
curl -d '{ "operation": "create", "data": "Hello World" }' \
9999
http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
@@ -106,14 +106,14 @@ To perform a create blob operation, invoke the Azure Blob Storage binding with a
106106

107107
{{< tabpane text=true >}}
108108

109-
{{% tab %}}
109+
{{% tab "Windows" %}}
110110
```bash
111111
curl -d "{ \"operation\": \"create\", \"data\": \"Hello World\", \"metadata\": { \"blobName\": \"my-test-file.txt\" } }" \
112112
http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
113113
```
114114
{{% /tab %}}
115115

116-
{{% tab %}}
116+
{{% tab "Linux" %}}
117117
```bash
118118
curl -d '{ "operation": "create", "data": "Hello World", "metadata": { "blobName": "my-test-file.txt" } }' \
119119
http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
@@ -150,13 +150,13 @@ Then you can upload it as you would normally:
150150
151151
{{< tabpane text=true >}}
152152
153-
{{% tab %}}
153+
{{% tab "Windows" %}}
154154
```bash
155155
curl -d "{ \"operation\": \"create\", \"data\": \"YOUR_BASE_64_CONTENT\", \"metadata\": { \"blobName\": \"my-test-file.jpg\" } }" http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
156156
```
157157
{{% /tab %}}
158158
159-
{{% tab %}}
159+
{{% tab "Linux" %}}
160160
```bash
161161
curl -d '{ "operation": "create", "data": "YOUR_BASE_64_CONTENT", "metadata": { "blobName": "my-test-file.jpg" } }' \
162162
http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
@@ -199,13 +199,13 @@ The metadata parameters are:
199199

200200
{{< tabpane text=true >}}
201201

202-
{{% tab %}}
202+
{{% tab "Windows" %}}
203203
```bash
204204
curl -d '{ \"operation\": \"get\", \"metadata\": { \"blobName\": \"myblob\" }}' http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
205205
```
206206
{{% /tab %}}
207207

208-
{{% tab %}}
208+
{{% tab "Linux" %}}
209209
```bash
210210
curl -d '{ "operation": "get", "metadata": { "blobName": "myblob" }}' \
211211
http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
@@ -247,13 +247,13 @@ The metadata parameters are:
247247

248248
{{< tabpane text=true >}}
249249

250-
{{% tab %}}
250+
{{% tab "Windows" %}}
251251
```bash
252252
curl -d '{ \"operation\": \"delete\", \"metadata\": { \"blobName\": \"myblob\" }}' http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
253253
```
254254
{{% /tab %}}
255255

256-
{{% tab %}}
256+
{{% tab "Linux" %}}
257257
```bash
258258
curl -d '{ "operation": "delete", "metadata": { "blobName": "myblob" }}' \
259259
http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
@@ -266,13 +266,13 @@ The metadata parameters are:
266266

267267
{{< tabpane text=true >}}
268268

269-
{{% tab %}}
269+
{{% tab "Windows" %}}
270270
```bash
271271
curl -d '{ \"operation\": \"delete\", \"metadata\": { \"blobName\": \"myblob\", \"deleteSnapshots\": \"only\" }}' http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
272272
```
273273
{{% /tab %}}
274274

275-
{{% tab %}}
275+
{{% tab "Linux" %}}
276276
```bash
277277
curl -d '{ "operation": "delete", "metadata": { "blobName": "myblob", "deleteSnapshots": "only" }}' \
278278
http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
@@ -285,13 +285,13 @@ The metadata parameters are:
285285

286286
{{< tabpane text=true >}}
287287

288-
{{% tab %}}
288+
{{% tab "Windows" %}}
289289
```bash
290290
curl -d '{ \"operation\": \"delete\", \"metadata\": { \"blobName\": \"myblob\", \"deleteSnapshots\": \"include\" }}' http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
291291
```
292292
{{% /tab %}}
293293

294-
{{% tab %}}
294+
{{% tab "Linux" %}}
295295
```bash
296296
curl -d '{ "operation": "delete", "metadata": { "blobName": "myblob", "deleteSnapshots": "include" }}' \
297297
http://localhost:<dapr-port>/v1.0/bindings/<binding-name>

daprdocs/content/en/reference/components-reference/supported-bindings/gcpbucket.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,14 @@ The metadata parameters are:
110110
##### Save text to a random generated UUID file
111111

112112
{{< tabpane text=true >}}
113-
{{% tab %}}
113+
{{% tab "Windows" %}}
114114
On Windows, utilize cmd prompt (PowerShell has different escaping mechanism)
115115
```bash
116116
curl -d "{ \"operation\": \"create\", \"data\": \"Hello World\" }" http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
117117
```
118118
{{% /tab %}}
119119

120-
{{% tab %}}
120+
{{% tab "Linux" %}}
121121
```bash
122122
curl -d '{ "operation": "create", "data": "Hello World" }' \
123123
http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
@@ -130,14 +130,14 @@ The metadata parameters are:
130130

131131
{{< tabpane text=true >}}
132132

133-
{{% tab %}}
133+
{{% tab "Windows" %}}
134134
```bash
135135
curl -d "{ \"operation\": \"create\", \"data\": \"Hello World\", \"metadata\": { \"key\": \"my-test-file.txt\" } }" \
136136
http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
137137
```
138138
{{% /tab %}}
139139

140-
{{% tab %}}
140+
{{% tab "Linux" %}}
141141
```bash
142142
curl -d '{ "operation": "create", "data": "Hello World", "metadata": { "key": "my-test-file.txt" } }' \
143143
http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
@@ -155,13 +155,13 @@ Then you can upload it as you would normally:
155155

156156
{{< tabpane text=true >}}
157157

158-
{{% tab %}}
158+
{{% tab "Windows" %}}
159159
```bash
160160
curl -d "{ \"operation\": \"create\", \"data\": \"(YOUR_FILE_CONTENTS)\", \"metadata\": { \"key\": \"my-test-file.jpg\" } }" http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
161161
```
162162
{{% /tab %}}
163163

164-
{{% tab %}}
164+
{{% tab "Linux" %}}
165165
```bash
166166
curl -d '{ "operation": "create", "data": "$(cat my-test-file.jpg)", "metadata": { "key": "my-test-file.jpg" } }' \
167167
http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
@@ -202,13 +202,13 @@ The metadata parameters are:
202202

203203
{{< tabpane text=true >}}
204204

205-
{{% tab %}}
205+
{{% tab "Windows" %}}
206206
```bash
207207
curl -d '{ \"operation\": \"get\", \"metadata\": { \"key\": \"my-test-file.txt\" }}' http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
208208
```
209209
{{% /tab %}}
210210

211-
{{% tab %}}
211+
{{% tab "Linux" %}}
212212
```bash
213213
curl -d '{ "operation": "get", "metadata": { "key": "my-test-file.txt" }}' \
214214
http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
@@ -312,13 +312,13 @@ The metadata parameters are:
312312

313313
{{< tabpane text=true >}}
314314

315-
{{% tab %}}
315+
{{% tab "Windows" %}}
316316
```bash
317317
curl -d '{ \"operation\": \"delete\", \"metadata\": { \"key\": \"my-test-file.txt\" }}' http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
318318
```
319319
{{% /tab %}}
320320

321-
{{% tab %}}
321+
{{% tab "Linux" %}}
322322
```bash
323323
curl -d '{ "operation": "delete", "metadata": { "key": "my-test-file.txt" }}' \
324324
http://localhost:<dapr-port>/v1.0/bindings/<binding-name>

daprdocs/content/en/reference/components-reference/supported-bindings/huawei-obs.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@ To perform a create operation, invoke the Huawei OBS binding with a `POST` metho
7373
##### Save text to a random generated UUID file
7474

7575
{{< tabpane text=true >}}
76-
{{% tab %}}
76+
{{% tab "Windows" %}}
7777
On Windows, utilize cmd prompt (PowerShell has different escaping mechanism)
7878
```bash
7979
curl -d "{ \"operation\": \"create\", \"data\": \"Hello World\" }" http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
8080
```
8181
{{% /tab %}}
8282

83-
{{% tab %}}
83+
{{% tab "Linux" %}}
8484
```bash
8585
curl -d '{ "operation": "create", "data": "Hello World" }' \
8686
http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
@@ -93,14 +93,14 @@ To perform a create operation, invoke the Huawei OBS binding with a `POST` metho
9393

9494
{{< tabpane text=true >}}
9595

96-
{{% tab %}}
96+
{{% tab "Windows" %}}
9797
```bash
9898
curl -d "{ \"operation\": \"create\", \"data\": \"Hello World\", \"metadata\": { \"key\": \"my-test-file.txt\" } }" \
9999
http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
100100
```
101101
{{% /tab %}}
102102

103-
{{% tab %}}
103+
{{% tab "Linux" %}}
104104
```bash
105105
curl -d '{ "operation": "create", "data": "Hello World", "metadata": { "key": "my-test-file.txt" } }' \
106106
http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
@@ -135,14 +135,14 @@ To upload a binary file (for example, _.jpg_, _.zip_), invoke the Huawei OBS bin
135135

136136
{{< tabpane text=true >}}
137137

138-
{{% tab %}}
138+
{{% tab "Windows" %}}
139139
```bash
140140
curl -d "{ \"operation\": \"upload\", \"data\": { \"sourceFile\": \".\my-test-file.jpg\" }, \"metadata\": { \"key\": \"my-test-file.jpg\" } }" \
141141
http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
142142
```
143143
{{% /tab %}}
144144

145-
{{% tab %}}
145+
{{% tab "Linux" %}}
146146
```bash
147147
curl -d '{ "operation": "upload", "data": { "sourceFile": "./my-test-file.jpg" }, "metadata": { "key": "my-test-file.jpg" } }' \
148148
http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
@@ -176,13 +176,13 @@ The metadata parameters are:
176176

177177
{{< tabpane text=true >}}
178178

179-
{{% tab %}}
179+
{{% tab "Windows" %}}
180180
```bash
181181
curl -d '{ \"operation\": \"get\", \"metadata\": { \"key\": \"my-test-file.txt\" }}' http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
182182
```
183183
{{% /tab %}}
184184

185-
{{% tab %}}
185+
{{% tab "Linux" %}}
186186
```bash
187187
curl -d '{ "operation": "get", "metadata": { "key": "my-test-file.txt" }}' \
188188
http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
@@ -220,13 +220,13 @@ The metadata parameters are:
220220

221221
{{< tabpane text=true >}}
222222

223-
{{% tab %}}
223+
{{% tab "Windows" %}}
224224
```bash
225225
curl -d '{ \"operation\": \"delete\", \"metadata\": { \"key\": \"my-test-file.txt\" }}' http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
226226
```
227227
{{% /tab %}}
228228

229-
{{% tab %}}
229+
{{% tab "Linux" %}}
230230
```bash
231231
curl -d '{ "operation": "delete", "metadata": { "key": "my-test-file.txt" }}' \
232232
http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
@@ -267,13 +267,13 @@ The data parameters are:
267267

268268
{{< tabpane text=true >}}
269269

270-
{{% tab %}}
270+
{{% tab "Windows" %}}
271271
```bash
272272
curl -d '{ \"operation\": \"list\", \"data\": { \"maxResults\": 5, \"prefix\": \"dapr-\", \"marker\": \"obstest\", \"delimiter\": \"jpg\" }}' http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
273273
```
274274
{{% /tab %}}
275275

276-
{{% tab %}}
276+
{{% tab "Linux" %}}
277277
```bash
278278
curl -d '{ "operation": "list", "data": { "maxResults": 5, "prefix": "dapr-", "marker": "obstest", "delimiter": "jpg" }}' \
279279
http://localhost:<dapr-port>/v1.0/bindings/<binding-name>

daprdocs/content/en/reference/components-reference/supported-bindings/localstorage.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@ To perform a create file operation, invoke the Local Storage binding with a `POS
5959
##### Save text to a random generated UUID file
6060

6161
{{< tabpane text=true >}}
62-
{{% tab %}}
62+
{{% tab "Windows" %}}
6363
On Windows, utilize cmd prompt (PowerShell has different escaping mechanism)
6464
```bash
6565
curl -d "{ \"operation\": \"create\", \"data\": \"Hello World\" }" http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
6666
```
6767
{{% /tab %}}
6868

69-
{{% tab %}}
69+
{{% tab "Linux" %}}
7070
```bash
7171
curl -d '{ "operation": "create", "data": "Hello World" }' \
7272
http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
@@ -79,14 +79,14 @@ To perform a create file operation, invoke the Local Storage binding with a `POS
7979

8080
{{< tabpane text=true >}}
8181

82-
{{% tab %}}
82+
{{% tab "Windows" %}}
8383
```bash
8484
curl -d "{ \"operation\": \"create\", \"data\": \"Hello World\", \"metadata\": { \"fileName\": \"my-test-file.txt\" } }" \
8585
http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
8686
```
8787
{{% /tab %}}
8888

89-
{{% tab %}}
89+
{{% tab "Linux" %}}
9090
```bash
9191
curl -d '{ "operation": "create", "data": "Hello World", "metadata": { "fileName": "my-test-file.txt" } }' \
9292
http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
@@ -102,13 +102,13 @@ To upload a file, encode it as Base64. The binding should automatically detect t
102102

103103
{{< tabpane text=true >}}
104104

105-
{{% tab %}}
105+
{{% tab "Windows" %}}
106106
```bash
107107
curl -d "{ \"operation\": \"create\", \"data\": \"YOUR_BASE_64_CONTENT\", \"metadata\": { \"fileName\": \"my-test-file.jpg\" } }" http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
108108
```
109109
{{% /tab %}}
110110

111-
{{% tab %}}
111+
{{% tab "Linux" %}}
112112
```bash
113113
curl -d '{ "operation": "create", "data": "YOUR_BASE_64_CONTENT", "metadata": { "fileName": "my-test-file.jpg" } }' \
114114
http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
@@ -145,13 +145,13 @@ To perform a get file operation, invoke the Local Storage binding with a `POST`
145145

146146
{{< tabpane text=true >}}
147147

148-
{{% tab %}}
148+
{{% tab "Windows" %}}
149149
```bash
150150
curl -d '{ \"operation\": \"get\", \"metadata\": { \"fileName\": \"myfile\" }}' http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
151151
```
152152
{{% /tab %}}
153153

154-
{{% tab %}}
154+
{{% tab "Linux" %}}
155155
```bash
156156
curl -d '{ "operation": "get", "metadata": { "fileName": "myfile" }}' \
157157
http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
@@ -189,13 +189,13 @@ If you only want to list the files beneath a particular directory below the `roo
189189

190190
{{< tabpane text=true >}}
191191

192-
{{% tab %}}
192+
{{% tab "Windows" %}}
193193
```bash
194194
curl -d '{ \"operation\": \"list\", \"metadata\": { \"fileName\": \"my/cool/directory\" }}' http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
195195
```
196196
{{% /tab %}}
197197

198-
{{% tab %}}
198+
{{% tab "Linux" %}}
199199
```bash
200200
curl -d '{ "operation": "list", "metadata": { "fileName": "my/cool/directory" }}' \
201201
http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
@@ -225,13 +225,13 @@ To perform a delete file operation, invoke the Local Storage binding with a `POS
225225

226226
{{< tabpane text=true >}}
227227

228-
{{% tab %}}
228+
{{% tab "Windows" %}}
229229
```bash
230230
curl -d '{ \"operation\": \"delete\", \"metadata\": { \"fileName\": \"myfile\" }}' http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
231231
```
232232
{{% /tab %}}
233233

234-
{{% tab %}}
234+
{{% tab "Linux" %}}
235235
```bash
236236
curl -d '{ "operation": "delete", "metadata": { "fileName": "myfile" }}' \
237237
http://localhost:<dapr-port>/v1.0/bindings/<binding-name>

0 commit comments

Comments
 (0)