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
10
exampleSite/data/properties/shortcode-toc.yaml
Normal file
10
exampleSite/data/properties/shortcode-toc.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
properties:
|
||||
- name: format
|
||||
type: string
|
||||
description: |
|
||||
Format of the returned ToC. The `html` format creates an HTML wrapper to enable the `geekdocToC` parameter that limits
|
||||
the maximum ToC level to be displayed. This variant also automatically inserts a horizontal line after the ToC. The `raw` format
|
||||
returns the unformatted ToC, the parameter `geekdocToC` does not work in this mode. Supported values are `html|raw`.
|
||||
required: false
|
||||
defaultValue: html
|
Loading…
Add table
Add a link
Reference in a new issue