docs: use a propertylist to document shortcode attributes (#732)
This commit is contained in:
parent
76ef8f147c
commit
83469c437f
24 changed files with 256 additions and 94 deletions
15
exampleSite/data/properties/shortcode-progress.yaml
Normal file
15
exampleSite/data/properties/shortcode-progress.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
properties:
|
||||
- name: value
|
||||
type: integer
|
||||
description: Progress value.
|
||||
required: false
|
||||
defaultValue: 0
|
||||
- name: icon
|
||||
type: string
|
||||
description: Icon to use. The value need to be an icon from an [SVG sprite](/features/icon-sets/).
|
||||
required: false
|
||||
- name: title
|
||||
type: string
|
||||
description: Title text of the progress bar.
|
||||
required: false
|
Loading…
Add table
Add a link
Reference in a new issue