mirror of
https://github.com/gohugoio/hugo.git
synced 2025-02-16 18:01:50 +00:00
docs: Regen docs helper
This commit is contained in:
parent
30748decf1
commit
b7ff4dc23e
1 changed files with 13 additions and 3 deletions
|
@ -3120,9 +3120,9 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Jsonify": {
|
"Jsonify": {
|
||||||
"Description": "Jsonify encodes a given object to JSON.",
|
"Description": "Jsonify encodes a given object to JSON. To pretty print the JSON, pass a map\nor dictionary of options as the first argument. Supported options are\n\"prefix\" and \"indent\". Each JSON element in the output will begin on a new\nline beginning with prefix followed by one or more copies of indent according\nto the indentation nesting.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"v"
|
"args"
|
||||||
],
|
],
|
||||||
"Aliases": [
|
"Aliases": [
|
||||||
"jsonify"
|
"jsonify"
|
||||||
|
@ -3131,6 +3131,10 @@
|
||||||
[
|
[
|
||||||
"{{ (slice \"A\" \"B\" \"C\") | jsonify }}",
|
"{{ (slice \"A\" \"B\" \"C\") | jsonify }}",
|
||||||
"[\"A\",\"B\",\"C\"]"
|
"[\"A\",\"B\",\"C\"]"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"{{ (slice \"A\" \"B\" \"C\") | jsonify (dict \"indent\" \" \") }}",
|
||||||
|
"[\n \"A\",\n \"B\",\n \"C\"\n]"
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -3866,6 +3870,12 @@
|
||||||
],
|
],
|
||||||
"Examples": []
|
"Examples": []
|
||||||
},
|
},
|
||||||
|
"PostProcess": {
|
||||||
|
"Description": "",
|
||||||
|
"Args": null,
|
||||||
|
"Aliases": null,
|
||||||
|
"Examples": null
|
||||||
|
},
|
||||||
"ToCSS": {
|
"ToCSS": {
|
||||||
"Description": "ToCSS converts the given Resource to CSS. You can optional provide an Options\nobject or a target path (string) as first argument.",
|
"Description": "ToCSS converts the given Resource to CSS. You can optional provide an Options\nobject or a target path (string) as first argument.",
|
||||||
"Args": [
|
"Args": [
|
||||||
|
@ -4515,7 +4525,7 @@
|
||||||
"Examples": [
|
"Examples": [
|
||||||
[
|
[
|
||||||
"{{ \"I :heart: Hugo\" | emojify }}",
|
"{{ \"I :heart: Hugo\" | emojify }}",
|
||||||
"I ❤ Hugo"
|
"I ❤️ Hugo"
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue