Skip to content

Commit

Permalink
docs: Regen docs helper
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Sep 7, 2020
1 parent dcf25c0 commit e6cd9da
Showing 1 changed file with 61 additions and 10 deletions.
71 changes: 61 additions & 10 deletions docs/data/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,21 @@
"css"
]
},
{
"Name": "Caddyfile",
"Aliases": [
"caddy",
"caddyfile"
]
},
{
"Name": "Caddyfile Directives",
"Aliases": [
"caddy-d",
"caddyfile-d",
"caddyfile-directives"
]
},
{
"Name": "Cap'n Proto",
"Aliases": [
Expand Down Expand Up @@ -599,6 +614,7 @@
"Aliases": [
"cfg",
"dosini",
"editorconfig",
"gitconfig",
"inf",
"ini"
Expand Down Expand Up @@ -870,6 +886,12 @@
"php[345]"
]
},
{
"Name": "PHTML",
"Aliases": [
"phtml"
]
},
{
"Name": "PL/pgSQL",
"Aliases": [
Expand Down Expand Up @@ -912,6 +934,12 @@
"pkgconfig"
]
},
{
"Name": "Pony",
"Aliases": [
"pony"
]
},
{
"Name": "PostScript",
"Aliases": [
Expand Down Expand Up @@ -1362,6 +1390,12 @@
"yang"
]
},
{
"Name": "Zig",
"Aliases": [
"zig"
]
},
{
"Name": "cfstatement",
"Aliases": [
Expand Down Expand Up @@ -1491,13 +1525,12 @@
},
"asciidocExt": {
"backend": "html5",
"docType": "article",
"extensions": [],
"attributes": {},
"noHeaderOrFooter": true,
"safeMode": "unsafe",
"sectionNumbers": false,
"verbose": true,
"verbose": false,
"trace": false,
"failureLevel": "fatal",
"workingFolderCurrent": false
Expand Down Expand Up @@ -2973,10 +3006,9 @@
"Examples": []
},
"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": [
"src",
"dst"
"params"
],
"Aliases": [
"merge"
Expand All @@ -2989,6 +3021,10 @@
[
"{{ merge (dict \"title\" \"Default Title\" \"description\" \"Yes, Hugo Rocks!\") (dict \"title\" \"Hugo Rocks!\") | sort }}",
"[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!]"
]
]
},
Expand Down Expand Up @@ -4408,11 +4444,12 @@
]
},
"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": [
"s",
"old",
"new"
"new",
"limit"
],
"Aliases": [
"replace"
Expand All @@ -4421,20 +4458,34 @@
[
"{{ replace \"Batman and Robin\" \"Robin\" \"Catwoman\" }}",
"Batman and Catwoman"
],
[
"{{ replace \"aabbaabb\" \"a\" \"z\" 2 }}",
"zzbbaabb"
]
]
},
"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": [
"pattern",
"repl",
"s"
"s",
"n"
],
"Aliases": [
"replaceRE"
],
"Examples": []
"Examples": [
[
"{{ replaceRE \"a+b\" \"X\" \"aabbaabbab\" }}",
"XbXbX"
],
[
"{{ replaceRE \"a+b\" \"X\" \"aabbaabbab\" 1 }}",
"Xbaabbab"
]
]
},
"RuneCount": {
"Description": "RuneCount returns the number of runes in s.",
Expand Down

0 comments on commit e6cd9da

Please sign in to comment.