summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2020-04-10 09:07:41 +0200
committerBjørn Erik Pedersen <[email protected]>2020-04-10 09:07:41 +0200
commitb7ff4dc23e6314fd09ee2c1e24cde96fc833164e (patch)
tree8adbd31a31cab82f1e860c99848208e2ac86f183 /docs
parent30748decf10526d4df5bbf16059cdf9bf76250f9 (diff)
downloadhugo-b7ff4dc23e6314fd09ee2c1e24cde96fc833164e.tar.gz
hugo-b7ff4dc23e6314fd09ee2c1e24cde96fc833164e.zip
docs: Regen docs helper
Diffstat (limited to 'docs')
-rw-r--r--docs/data/docs.json16
1 files changed, 13 insertions, 3 deletions
diff --git a/docs/data/docs.json b/docs/data/docs.json
index 9a5b47676..bf31f45ce 100644
--- a/docs/data/docs.json
+++ b/docs/data/docs.json
@@ -3120,9 +3120,9 @@
]
},
"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": [
- "v"
+ "args"
],
"Aliases": [
"jsonify"
@@ -3131,6 +3131,10 @@
[
"{{ (slice \"A\" \"B\" \"C\") | jsonify }}",
"[\"A\",\"B\",\"C\"]"
+ ],
+ [
+ "{{ (slice \"A\" \"B\" \"C\") | jsonify (dict \"indent\" \" \") }}",
+ "[\n \"A\",\n \"B\",\n \"C\"\n]"
]
]
}
@@ -3866,6 +3870,12 @@
],
"Examples": []
},
+ "PostProcess": {
+ "Description": "",
+ "Args": null,
+ "Aliases": null,
+ "Examples": null
+ },
"ToCSS": {
"Description": "ToCSS converts the given Resource to CSS. You can optional provide an Options\nobject or a target path (string) as first argument.",
"Args": [
@@ -4515,7 +4525,7 @@
"Examples": [
[
"{{ \"I :heart: Hugo\" | emojify }}",
- "I ❤ Hugo"
+ "I ❤️ Hugo"
]
]
},