Skip to content

Commit 8a87257

Browse files
author
David Luecke
committed
Making documentation NaturalDocs compatible
1 parent b08f6ca commit 8a87257

File tree

5 files changed

+925
-364
lines changed

5 files changed

+925
-364
lines changed

doc/index.html

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ <h2>The plugin</h2>
5959
[
6060
{
6161
"name" : "textfield",
62-
"label" : "Label for textfield",
62+
"caption" : "Label for textfield",
6363
"type" : "text",
6464
"value" : "Hello world"
6565
},
@@ -116,19 +116,19 @@ <h3>Login form</h3>
116116
"elements" :
117117
[
118118
{
119-
"type" : "html",
119+
"type" : "span",
120120
"html" : "<p>You must login</p>"
121121
},
122122
{
123123
"name" : "username",
124124
"id" : "txt-username",
125-
"label" : "Username",
125+
"caption" : "Username",
126126
"type" : "text",
127127
"placeholder" : "E.g. user@example.com"
128128
},
129129
{
130130
"name" : "password",
131-
"label" : "Password",
131+
"caption" : "Password",
132132
"type" : "password"
133133
},
134134
{
@@ -169,11 +169,11 @@ <h3>Registration form</h3>
169169
[
170170
{
171171
"type" : "fieldset",
172-
"label" : "User information",
172+
"caption" : "User information",
173173
"elements" : [
174174
{
175175
"name" : "email",
176-
"label" : "Email address",
176+
"caption" : "Email address",
177177
"type" : "text",
178178
"placeholder" : "E.g. user@example.com",
179179
"validate" :
@@ -183,7 +183,7 @@ <h3>Registration form</h3>
183183
},
184184
{
185185
"name" : "password",
186-
"label" : "Password",
186+
"caption" : "Password",
187187
"type" : "password",
188188
"id" : "registration-password",
189189
"validate" :
@@ -199,7 +199,7 @@ <h3>Registration form</h3>
199199
},
200200
{
201201
"name" : "password-repeat",
202-
"label" : "Repeat password",
202+
"caption" : "Repeat password",
203203
"type" : "password",
204204
"validate" :
205205
{
@@ -212,7 +212,7 @@ <h3>Registration form</h3>
212212
},
213213
{
214214
"type" : "radiobuttons",
215-
"label" : "Sex",
215+
"caption" : "Sex",
216216
"name" : "sex",
217217
"class" : "labellist",
218218
"options" :
@@ -224,15 +224,15 @@ <h3>Registration form</h3>
224224
{
225225
"type" : "checkboxes",
226226
"name" : "test",
227-
"label" : "Receive newsletter about",
227+
"caption" : "Receive newsletter about",
228228
"class" : "labellist",
229229
"options" :
230230
{
231231
"updates" : "Product updates<br />",
232232
"errors" :
233233
{
234234
"value" : "security",
235-
"label" : "Security warnings<br />",
235+
"caption" : "Security warnings<br />",
236236
"checked" : "checked"
237237
}
238238
}
@@ -241,37 +241,37 @@ <h3>Registration form</h3>
241241
},
242242
{
243243
"type" : "fieldset",
244-
"label" : "Address information",
244+
"caption" : "Address information",
245245
"elements" : [
246246
{
247247
"name" : "name",
248-
"label" : "Your name",
248+
"caption" : "Your name",
249249
"type" : "text",
250250
"placeholder" : "E.g. John Doe"
251251
},
252252
{
253253
"name" : "address",
254-
"label" : "Address",
254+
"caption" : "Address",
255255
"type" : "text",
256256
"validate" : { "required" : true }
257257
},
258258
{
259259
"name" : "zip",
260-
"label" : "ZIP code",
260+
"caption" : "ZIP code",
261261
"type" : "text",
262262
"size" : 5,
263263
"validate" : { "required" : true }
264264
},
265265
{
266266
"name" : "city",
267-
"label" : "City",
267+
"caption" : "City",
268268
"type" : "text",
269269
"validate" : { "required" : true }
270270
},
271271
{
272272
"type" : "select",
273273
"name" : "continent",
274-
"label" : "Choose a continent",
274+
"caption" : "Choose a continent",
275275
"options" :
276276
{
277277
"america" : "America",
@@ -336,7 +336,7 @@ <h3>jQuery UI</h3>
336336
"elements" : [
337337
{
338338
"name" : "email",
339-
"label" : "Email address",
339+
"caption" : "Email address",
340340
"type" : "text",
341341
"validate" :
342342
{
@@ -346,7 +346,7 @@ <h3>jQuery UI</h3>
346346
},
347347
{
348348
"name" : "password",
349-
"label" : "Password",
349+
"caption" : "Password",
350350
"type" : "password",
351351
"id" : "dialog-registration-password",
352352
"validate" :
@@ -362,7 +362,7 @@ <h3>jQuery UI</h3>
362362
},
363363
{
364364
"name" : "password-repeat",
365-
"label" : "Repeat password",
365+
"caption" : "Repeat password",
366366
"type" : "password",
367367
"validate" :
368368
{
@@ -407,12 +407,12 @@ <h3>jQuery UI</h3>
407407
"type" : "slider",
408408
"values" : [ 10, 80 ],
409409
"range" : true,
410-
"label" : "Slider",
410+
"caption" : "Slider",
411411
"id" : "myslider"
412412
},
413413
{
414414
"name" : "textfield",
415-
"label" : "Autocomplete",
415+
"caption" : "Autocomplete",
416416
"type" : "text",
417417
"placeholder" : "Type 'A' or 'S'",
418418
"autocomplete" :
@@ -422,12 +422,12 @@ <h3>jQuery UI</h3>
422422
},
423423
{
424424
"name" : "date",
425-
"label" : "Datepicker",
425+
"caption" : "Datepicker",
426426
"type" : "text",
427427
"datepicker" : { "showOn" : "button" }
428428
},
429429
{
430-
"label" : "A progressbar",
430+
"caption" : "A progressbar",
431431
"type" : "progressbar",
432432
"value" : 40
433433
},
@@ -447,7 +447,7 @@ <h3>jQuery UI</h3>
447447
[
448448
{
449449
"name" : "textfield",
450-
"label" : "Just a textfield",
450+
"caption" : "Just a textfield",
451451
"type" : "text"
452452
}
453453
]
@@ -458,7 +458,7 @@ <h3>jQuery UI</h3>
458458
"elements" :
459459
[
460460
{
461-
"type" : "html",
461+
"type" : "span",
462462
"html" : "Some html in tab 2"
463463
},
464464
{

0 commit comments

Comments
 (0)