docs: Regen docs helper

This commit is contained in:
Bjørn Erik Pedersen 2020-09-07 21:45:16 +02:00
parent dcf25c0b49
commit e6cd9da42d
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -230,6 +230,21 @@
"css" "css"
] ]
}, },
{
"Name": "Caddyfile",
"Aliases": [
"caddy",
"caddyfile"
]
},
{
"Name": "Caddyfile Directives",
"Aliases": [
"caddy-d",
"caddyfile-d",
"caddyfile-directives"
]
},
{ {
"Name": "Cap'n Proto", "Name": "Cap'n Proto",
"Aliases": [ "Aliases": [
@ -599,6 +614,7 @@
"Aliases": [ "Aliases": [
"cfg", "cfg",
"dosini", "dosini",
"editorconfig",
"gitconfig", "gitconfig",
"inf", "inf",
"ini" "ini"
@ -870,6 +886,12 @@
"php[345]" "php[345]"
] ]
}, },
{
"Name": "PHTML",
"Aliases": [
"phtml"
]
},
{ {
"Name": "PL/pgSQL", "Name": "PL/pgSQL",
"Aliases": [ "Aliases": [
@ -912,6 +934,12 @@
"pkgconfig" "pkgconfig"
] ]
}, },
{
"Name": "Pony",
"Aliases": [
"pony"
]
},
{ {
"Name": "PostScript", "Name": "PostScript",
"Aliases": [ "Aliases": [
@ -1362,6 +1390,12 @@
"yang" "yang"
] ]
}, },
{
"Name": "Zig",
"Aliases": [
"zig"
]
},
{ {
"Name": "cfstatement", "Name": "cfstatement",
"Aliases": [ "Aliases": [
@ -1491,13 +1525,12 @@
}, },
"asciidocExt": { "asciidocExt": {
"backend": "html5", "backend": "html5",
"docType": "article",
"extensions": [], "extensions": [],
"attributes": {}, "attributes": {},
"noHeaderOrFooter": true, "noHeaderOrFooter": true,
"safeMode": "unsafe", "safeMode": "unsafe",
"sectionNumbers": false, "sectionNumbers": false,
"verbose": true, "verbose": false,
"trace": false, "trace": false,
"failureLevel": "fatal", "failureLevel": "fatal",
"workingFolderCurrent": false "workingFolderCurrent": false
@ -2973,10 +3006,9 @@
"Examples": [] "Examples": []
}, },
"Merge": { "Merge": {
"Description": "Merge creates a copy of dst and merges src into it.\nCurrently only maps supported. Key handling is case insensitive.", "Description": "Merge creates a copy of the final parameter and merges the preceeding\nparameters into it in reverse order.\nCurrently only maps are supported. Key handling is case insensitive.",
"Args": [ "Args": [
"src", "params"
"dst"
], ],
"Aliases": [ "Aliases": [
"merge" "merge"
@ -2989,6 +3021,10 @@
[ [
"{{ merge (dict \"title\" \"Default Title\" \"description\" \"Yes, Hugo Rocks!\") (dict \"title\" \"Hugo Rocks!\") | sort }}", "{{ merge (dict \"title\" \"Default Title\" \"description\" \"Yes, Hugo Rocks!\") (dict \"title\" \"Hugo Rocks!\") | sort }}",
"[Yes, Hugo Rocks! Hugo Rocks!]" "[Yes, Hugo Rocks! Hugo Rocks!]"
],
[
"{{ merge (dict \"title\" \"Default Title\" \"description\" \"Yes, Hugo Rocks!\") (dict \"title\" \"Hugo Rocks!\") (dict \"extra\" \"For reals!\") | sort }}",
"[Yes, Hugo Rocks! For reals! Hugo Rocks!]"
] ]
] ]
}, },
@ -4408,11 +4444,12 @@
] ]
}, },
"Replace": { "Replace": {
"Description": "Replace returns a copy of the string s with all occurrences of old replaced\nwith new.", "Description": "Replace returns a copy of the string s with all occurrences of old replaced\nwith new. The number of replacements can be limited with an optional fourth\nparameter.",
"Args": [ "Args": [
"s", "s",
"old", "old",
"new" "new",
"limit"
], ],
"Aliases": [ "Aliases": [
"replace" "replace"
@ -4421,20 +4458,34 @@
[ [
"{{ replace \"Batman and Robin\" \"Robin\" \"Catwoman\" }}", "{{ replace \"Batman and Robin\" \"Robin\" \"Catwoman\" }}",
"Batman and Catwoman" "Batman and Catwoman"
],
[
"{{ replace \"aabbaabb\" \"a\" \"z\" 2 }}",
"zzbbaabb"
] ]
] ]
}, },
"ReplaceRE": { "ReplaceRE": {
"Description": "ReplaceRE returns a copy of s, replacing all matches of the regular\nexpression pattern with the replacement text repl.", "Description": "ReplaceRE returns a copy of s, replacing all matches of the regular\nexpression pattern with the replacement text repl. The number of replacements\ncan be limited with an optional fourth parameter.",
"Args": [ "Args": [
"pattern", "pattern",
"repl", "repl",
"s" "s",
"n"
], ],
"Aliases": [ "Aliases": [
"replaceRE" "replaceRE"
], ],
"Examples": [] "Examples": [
[
"{{ replaceRE \"a+b\" \"X\" \"aabbaabbab\" }}",
"XbXbX"
],
[
"{{ replaceRE \"a+b\" \"X\" \"aabbaabbab\" 1 }}",
"Xbaabbab"
]
]
}, },
"RuneCount": { "RuneCount": {
"Description": "RuneCount returns the number of runes in s.", "Description": "RuneCount returns the number of runes in s.",