mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
docs: Regen docs helper
This commit is contained in:
parent
95baafeac4
commit
db9d274275
1 changed files with 134 additions and 110 deletions
|
@ -1728,24 +1728,6 @@
|
||||||
"taskList": true
|
"taskList": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"blackFriday": {
|
|
||||||
"smartypants": true,
|
|
||||||
"smartypantsQuotesNBSP": false,
|
|
||||||
"angledQuotes": false,
|
|
||||||
"fractions": true,
|
|
||||||
"hrefTargetBlank": false,
|
|
||||||
"nofollowLinks": false,
|
|
||||||
"noreferrerLinks": false,
|
|
||||||
"smartDashes": true,
|
|
||||||
"latexDashes": true,
|
|
||||||
"taskLists": true,
|
|
||||||
"plainIDAnchors": true,
|
|
||||||
"extensions": null,
|
|
||||||
"extensionsMask": null,
|
|
||||||
"skipHTML": false,
|
|
||||||
"footnoteAnchorPrefix": "",
|
|
||||||
"footnoteReturnLinkContents": ""
|
|
||||||
},
|
|
||||||
"asciidocExt": {
|
"asciidocExt": {
|
||||||
"backend": "html5",
|
"backend": "html5",
|
||||||
"extensions": [],
|
"extensions": [],
|
||||||
|
@ -2228,6 +2210,21 @@
|
||||||
"jsx"
|
"jsx"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"mainType": "text",
|
||||||
|
"subType": "markdown",
|
||||||
|
"delimiter": ".",
|
||||||
|
"firstSuffix": {
|
||||||
|
"suffix": "md",
|
||||||
|
"fullSuffix": ".md"
|
||||||
|
},
|
||||||
|
"type": "text/markdown",
|
||||||
|
"string": "text/markdown",
|
||||||
|
"suffixes": [
|
||||||
|
"md",
|
||||||
|
"markdown"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mainType": "text",
|
"mainType": "text",
|
||||||
"subType": "plain",
|
"subType": "plain",
|
||||||
|
@ -2458,6 +2455,20 @@
|
||||||
"permalinkable": false,
|
"permalinkable": false,
|
||||||
"weight": 0
|
"weight": 0
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"mediaType": "text/markdown",
|
||||||
|
"name": "MARKDOWN",
|
||||||
|
"path": "",
|
||||||
|
"baseName": "index",
|
||||||
|
"rel": "alternate",
|
||||||
|
"protocol": "",
|
||||||
|
"isPlainText": true,
|
||||||
|
"isHTML": false,
|
||||||
|
"noUgly": false,
|
||||||
|
"notAlternative": false,
|
||||||
|
"permalinkable": false,
|
||||||
|
"weight": 0
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mediaType": "text/plain",
|
"mediaType": "text/plain",
|
||||||
"name": "ROBOTS",
|
"name": "ROBOTS",
|
||||||
|
@ -3116,7 +3127,7 @@
|
||||||
"funcs": {
|
"funcs": {
|
||||||
"cast": {
|
"cast": {
|
||||||
"ToFloat": {
|
"ToFloat": {
|
||||||
"Description": "ToFloat converts the given value to a float.",
|
"Description": "ToFloat converts v to a float.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"v"
|
"v"
|
||||||
],
|
],
|
||||||
|
@ -3131,7 +3142,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"ToInt": {
|
"ToInt": {
|
||||||
"Description": "ToInt converts the given value to an int.",
|
"Description": "ToInt converts v to an int.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"v"
|
"v"
|
||||||
],
|
],
|
||||||
|
@ -3146,7 +3157,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"ToString": {
|
"ToString": {
|
||||||
"Description": "ToString converts the given value to a string.",
|
"Description": "ToString converts v to a string.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"v"
|
"v"
|
||||||
],
|
],
|
||||||
|
@ -3652,10 +3663,17 @@
|
||||||
},
|
},
|
||||||
"crypto": {
|
"crypto": {
|
||||||
"FNV32a": {
|
"FNV32a": {
|
||||||
"Description": "",
|
"Description": "FNV32a hashes using fnv32a algorithm",
|
||||||
"Args": null,
|
"Args": [
|
||||||
|
"in"
|
||||||
|
],
|
||||||
"Aliases": null,
|
"Aliases": null,
|
||||||
"Examples": null
|
"Examples": [
|
||||||
|
[
|
||||||
|
"{{ crypto.FNV32a \"Hugo Rocks!!\" }}",
|
||||||
|
"1515779328"
|
||||||
|
]
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"HMAC": {
|
"HMAC": {
|
||||||
"Description": "HMAC returns a cryptographic hash that uses a key to sign a message.",
|
"Description": "HMAC returns a cryptographic hash that uses a key to sign a message.",
|
||||||
|
@ -3828,10 +3846,10 @@
|
||||||
},
|
},
|
||||||
"fmt": {
|
"fmt": {
|
||||||
"Errorf": {
|
"Errorf": {
|
||||||
"Description": "Errorf formats according to a format specifier and logs an ERROR.\nIt returns an empty string.",
|
"Description": "Errorf formats args according to a format specifier and logs an ERROR.\nIt returns an empty string.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"format",
|
"format",
|
||||||
"a"
|
"args"
|
||||||
],
|
],
|
||||||
"Aliases": [
|
"Aliases": [
|
||||||
"errorf"
|
"errorf"
|
||||||
|
@ -3844,11 +3862,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Erroridf": {
|
"Erroridf": {
|
||||||
"Description": "Erroridf formats according to a format specifier and logs an ERROR and\nan information text that the error with the given ID can be suppressed in config.\nIt returns an empty string.",
|
"Description": "Erroridf formats args according to a format specifier and logs an ERROR and\nan information text that the error with the given ID can be suppressed in config.\nIt returns an empty string.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"id",
|
"id",
|
||||||
"format",
|
"format",
|
||||||
"a"
|
"args"
|
||||||
],
|
],
|
||||||
"Aliases": [
|
"Aliases": [
|
||||||
"erroridf"
|
"erroridf"
|
||||||
|
@ -3861,9 +3879,9 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Print": {
|
"Print": {
|
||||||
"Description": "Print returns string representation of the passed arguments.",
|
"Description": "Print returns a string representation args.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"a"
|
"args"
|
||||||
],
|
],
|
||||||
"Aliases": [
|
"Aliases": [
|
||||||
"print"
|
"print"
|
||||||
|
@ -3876,10 +3894,10 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Printf": {
|
"Printf": {
|
||||||
"Description": "Printf returns a formatted string representation of the passed arguments.",
|
"Description": "Printf returns a formatted string representation of args.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"format",
|
"format",
|
||||||
"a"
|
"args"
|
||||||
],
|
],
|
||||||
"Aliases": [
|
"Aliases": [
|
||||||
"printf"
|
"printf"
|
||||||
|
@ -3892,9 +3910,9 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Println": {
|
"Println": {
|
||||||
"Description": "Println returns string representation of the passed arguments ending with a newline.",
|
"Description": "Println returns string representation of args ending with a newline.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"a"
|
"args"
|
||||||
],
|
],
|
||||||
"Aliases": [
|
"Aliases": [
|
||||||
"println"
|
"println"
|
||||||
|
@ -3907,10 +3925,10 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Warnf": {
|
"Warnf": {
|
||||||
"Description": "Warnf formats according to a format specifier and logs a WARNING.\nIt returns an empty string.",
|
"Description": "Warnf formats args according to a format specifier and logs a WARNING.\nIt returns an empty string.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"format",
|
"format",
|
||||||
"a"
|
"args"
|
||||||
],
|
],
|
||||||
"Aliases": [
|
"Aliases": [
|
||||||
"warnf"
|
"warnf"
|
||||||
|
@ -4253,10 +4271,10 @@
|
||||||
},
|
},
|
||||||
"math": {
|
"math": {
|
||||||
"Add": {
|
"Add": {
|
||||||
"Description": "Add adds two numbers.",
|
"Description": "Add adds the two addends n1 and n2.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"a",
|
"n1",
|
||||||
"b"
|
"n2"
|
||||||
],
|
],
|
||||||
"Aliases": [
|
"Aliases": [
|
||||||
"add"
|
"add"
|
||||||
|
@ -4269,9 +4287,9 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Ceil": {
|
"Ceil": {
|
||||||
"Description": "Ceil returns the least integer value greater than or equal to x.",
|
"Description": "Ceil returns the least integer value greater than or equal to n.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"x"
|
"n"
|
||||||
],
|
],
|
||||||
"Aliases": null,
|
"Aliases": null,
|
||||||
"Examples": [
|
"Examples": [
|
||||||
|
@ -4288,10 +4306,10 @@
|
||||||
"Examples": null
|
"Examples": null
|
||||||
},
|
},
|
||||||
"Div": {
|
"Div": {
|
||||||
"Description": "Div divides two numbers.",
|
"Description": "Div divides n1 by n2.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"a",
|
"n1",
|
||||||
"b"
|
"n2"
|
||||||
],
|
],
|
||||||
"Aliases": [
|
"Aliases": [
|
||||||
"div"
|
"div"
|
||||||
|
@ -4304,9 +4322,9 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Floor": {
|
"Floor": {
|
||||||
"Description": "Floor returns the greatest integer value less than or equal to x.",
|
"Description": "Floor returns the greatest integer value less than or equal to n.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"x"
|
"n"
|
||||||
],
|
],
|
||||||
"Aliases": null,
|
"Aliases": null,
|
||||||
"Examples": [
|
"Examples": [
|
||||||
|
@ -4317,9 +4335,9 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Log": {
|
"Log": {
|
||||||
"Description": "Log returns the natural logarithm of a number.",
|
"Description": "Log returns the natural logarithm of the number n.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"a"
|
"n"
|
||||||
],
|
],
|
||||||
"Aliases": null,
|
"Aliases": null,
|
||||||
"Examples": [
|
"Examples": [
|
||||||
|
@ -4330,10 +4348,10 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Max": {
|
"Max": {
|
||||||
"Description": "Max returns the greater of two numbers.",
|
"Description": "Max returns the greater of the two numbers n1 or n2.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"a",
|
"n1",
|
||||||
"b"
|
"n2"
|
||||||
],
|
],
|
||||||
"Aliases": null,
|
"Aliases": null,
|
||||||
"Examples": [
|
"Examples": [
|
||||||
|
@ -4344,10 +4362,10 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Min": {
|
"Min": {
|
||||||
"Description": "Min returns the smaller of two numbers.",
|
"Description": "Min returns the smaller of two numbers n1 or n2.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"a",
|
"n1",
|
||||||
"b"
|
"n2"
|
||||||
],
|
],
|
||||||
"Aliases": null,
|
"Aliases": null,
|
||||||
"Examples": [
|
"Examples": [
|
||||||
|
@ -4358,10 +4376,10 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Mod": {
|
"Mod": {
|
||||||
"Description": "Mod returns a % b.",
|
"Description": "Mod returns n1 % n2.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"a",
|
"n1",
|
||||||
"b"
|
"n2"
|
||||||
],
|
],
|
||||||
"Aliases": [
|
"Aliases": [
|
||||||
"mod"
|
"mod"
|
||||||
|
@ -4374,10 +4392,10 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"ModBool": {
|
"ModBool": {
|
||||||
"Description": "ModBool returns the boolean of a % b. If a % b == 0, return true.",
|
"Description": "ModBool returns the boolean of n1 % n2. If n1 % n2 == 0, return true.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"a",
|
"n1",
|
||||||
"b"
|
"n2"
|
||||||
],
|
],
|
||||||
"Aliases": [
|
"Aliases": [
|
||||||
"modBool"
|
"modBool"
|
||||||
|
@ -4390,10 +4408,10 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Mul": {
|
"Mul": {
|
||||||
"Description": "Mul multiplies two numbers.",
|
"Description": "Mul multiplies the two numbers n1 and n2.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"a",
|
"n1",
|
||||||
"b"
|
"n2"
|
||||||
],
|
],
|
||||||
"Aliases": [
|
"Aliases": [
|
||||||
"mul"
|
"mul"
|
||||||
|
@ -4406,10 +4424,10 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Pow": {
|
"Pow": {
|
||||||
"Description": "Pow returns a raised to the power of b.",
|
"Description": "Pow returns n1 raised to the power of n2.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"a",
|
"n1",
|
||||||
"b"
|
"n2"
|
||||||
],
|
],
|
||||||
"Aliases": [
|
"Aliases": [
|
||||||
"pow"
|
"pow"
|
||||||
|
@ -4422,9 +4440,9 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Round": {
|
"Round": {
|
||||||
"Description": "Round returns the nearest integer, rounding half away from zero.",
|
"Description": "Round returns the integer nearest to n, rounding half away from zero.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"x"
|
"n"
|
||||||
],
|
],
|
||||||
"Aliases": null,
|
"Aliases": null,
|
||||||
"Examples": [
|
"Examples": [
|
||||||
|
@ -4435,9 +4453,9 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Sqrt": {
|
"Sqrt": {
|
||||||
"Description": "Sqrt returns the square root of a number.",
|
"Description": "Sqrt returns the square root of the number n.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"a"
|
"n"
|
||||||
],
|
],
|
||||||
"Aliases": null,
|
"Aliases": null,
|
||||||
"Examples": [
|
"Examples": [
|
||||||
|
@ -4448,10 +4466,10 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Sub": {
|
"Sub": {
|
||||||
"Description": "Sub subtracts two numbers.",
|
"Description": "Sub subtracts n2 from n1.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"a",
|
"n1",
|
||||||
"b"
|
"n2"
|
||||||
],
|
],
|
||||||
"Aliases": [
|
"Aliases": [
|
||||||
"sub"
|
"sub"
|
||||||
|
@ -4690,6 +4708,12 @@
|
||||||
"Aliases": null,
|
"Aliases": null,
|
||||||
"Examples": null
|
"Examples": null
|
||||||
},
|
},
|
||||||
|
"Copy": {
|
||||||
|
"Description": "",
|
||||||
|
"Args": null,
|
||||||
|
"Aliases": null,
|
||||||
|
"Examples": null
|
||||||
|
},
|
||||||
"ExecuteAsTemplate": {
|
"ExecuteAsTemplate": {
|
||||||
"Description": "",
|
"Description": "",
|
||||||
"Args": null,
|
"Args": null,
|
||||||
|
@ -4779,9 +4803,9 @@
|
||||||
},
|
},
|
||||||
"safe": {
|
"safe": {
|
||||||
"CSS": {
|
"CSS": {
|
||||||
"Description": "CSS returns a given string as html/template CSS content.",
|
"Description": "CSS returns the string s as html/template CSS content.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"a"
|
"s"
|
||||||
],
|
],
|
||||||
"Aliases": [
|
"Aliases": [
|
||||||
"safeCSS"
|
"safeCSS"
|
||||||
|
@ -4794,9 +4818,9 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"HTML": {
|
"HTML": {
|
||||||
"Description": "HTML returns a given string as html/template HTML content.",
|
"Description": "HTML returns the string s as html/template HTML content.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"a"
|
"s"
|
||||||
],
|
],
|
||||||
"Aliases": [
|
"Aliases": [
|
||||||
"safeHTML"
|
"safeHTML"
|
||||||
|
@ -4813,9 +4837,9 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"HTMLAttr": {
|
"HTMLAttr": {
|
||||||
"Description": "HTMLAttr returns a given string as html/template HTMLAttr content.",
|
"Description": "HTMLAttr returns the string s as html/template HTMLAttr content.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"a"
|
"s"
|
||||||
],
|
],
|
||||||
"Aliases": [
|
"Aliases": [
|
||||||
"safeHTMLAttr"
|
"safeHTMLAttr"
|
||||||
|
@ -4825,7 +4849,7 @@
|
||||||
"JS": {
|
"JS": {
|
||||||
"Description": "JS returns the given string as a html/template JS content.",
|
"Description": "JS returns the given string as a html/template JS content.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"a"
|
"s"
|
||||||
],
|
],
|
||||||
"Aliases": [
|
"Aliases": [
|
||||||
"safeJS"
|
"safeJS"
|
||||||
|
@ -4840,7 +4864,7 @@
|
||||||
"JSStr": {
|
"JSStr": {
|
||||||
"Description": "JSStr returns the given string as a html/template JSStr content.",
|
"Description": "JSStr returns the given string as a html/template JSStr content.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"a"
|
"s"
|
||||||
],
|
],
|
||||||
"Aliases": [
|
"Aliases": [
|
||||||
"safeJSStr"
|
"safeJSStr"
|
||||||
|
@ -4848,9 +4872,9 @@
|
||||||
"Examples": []
|
"Examples": []
|
||||||
},
|
},
|
||||||
"SanitizeURL": {
|
"SanitizeURL": {
|
||||||
"Description": "SanitizeURL returns a given string as html/template URL content.",
|
"Description": "SanitizeURL returns the string s as html/template URL content.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"a"
|
"s"
|
||||||
],
|
],
|
||||||
"Aliases": [
|
"Aliases": [
|
||||||
"sanitizeURL",
|
"sanitizeURL",
|
||||||
|
@ -4859,9 +4883,9 @@
|
||||||
"Examples": []
|
"Examples": []
|
||||||
},
|
},
|
||||||
"URL": {
|
"URL": {
|
||||||
"Description": "URL returns a given string as html/template URL content.",
|
"Description": "URL returns the string s as html/template URL content.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"a"
|
"s"
|
||||||
],
|
],
|
||||||
"Aliases": [
|
"Aliases": [
|
||||||
"safeURL"
|
"safeURL"
|
||||||
|
@ -5076,7 +5100,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"FirstUpper": {
|
"FirstUpper": {
|
||||||
"Description": "FirstUpper returns a string with the first character as upper case.",
|
"Description": "FirstUpper converts s making the first character upper case.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"s"
|
"s"
|
||||||
],
|
],
|
||||||
|
@ -5115,7 +5139,7 @@
|
||||||
"Examples": null
|
"Examples": null
|
||||||
},
|
},
|
||||||
"Repeat": {
|
"Repeat": {
|
||||||
"Description": "Repeat returns a new string consisting of count copies of the string s.",
|
"Description": "Repeat returns a new string consisting of n copies of the string s.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"n",
|
"n",
|
||||||
"s"
|
"s"
|
||||||
|
@ -5281,7 +5305,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Trim": {
|
"Trim": {
|
||||||
"Description": "Trim returns a string with all leading and trailing characters defined\ncontained in cutset removed.",
|
"Description": "Trim returns converts the strings s removing all leading and trailing characters defined\ncontained.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"s",
|
"s",
|
||||||
"cutset"
|
"cutset"
|
||||||
|
@ -5432,7 +5456,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Format": {
|
"Format": {
|
||||||
"Description": "Format converts the textual representation of the datetime string into\nthe other form or returns it of the time.Time value. These are formatted\nwith the layout string",
|
"Description": "Format converts the textual representation of the datetime string in v into\ntime.Time if needed and formats it with the given layout.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"layout",
|
"layout",
|
||||||
"v"
|
"v"
|
||||||
|
@ -5448,7 +5472,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Now": {
|
"Now": {
|
||||||
"Description": "Now returns the current local time.",
|
"Description": "Now returns the current local time or `clock` time",
|
||||||
"Args": null,
|
"Args": null,
|
||||||
"Aliases": [
|
"Aliases": [
|
||||||
"now"
|
"now"
|
||||||
|
@ -5456,9 +5480,9 @@
|
||||||
"Examples": []
|
"Examples": []
|
||||||
},
|
},
|
||||||
"ParseDuration": {
|
"ParseDuration": {
|
||||||
"Description": "ParseDuration parses a duration string.\nA duration string is a possibly signed sequence of\ndecimal numbers, each with optional fraction and a unit suffix,\nsuch as \"300ms\", \"-1.5h\" or \"2h45m\".\nValid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".\nSee https://golang.org/pkg/time/#ParseDuration",
|
"Description": "ParseDuration parses the duration string s.\nA duration string is a possibly signed sequence of\ndecimal numbers, each with optional fraction and a unit suffix,\nsuch as \"300ms\", \"-1.5h\" or \"2h45m\".\nValid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".\nSee https://golang.org/pkg/time/#ParseDuration",
|
||||||
"Args": [
|
"Args": [
|
||||||
"in"
|
"s"
|
||||||
],
|
],
|
||||||
"Aliases": null,
|
"Aliases": null,
|
||||||
"Examples": [
|
"Examples": [
|
||||||
|
@ -5515,7 +5539,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"HTMLUnescape": {
|
"HTMLUnescape": {
|
||||||
"Description": "HTMLUnescape returns a copy of with HTML escape requences converted to plain\ntext.",
|
"Description": "HTMLUnescape returns a copy of s with HTML escape requences converted to plain\ntext.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"s"
|
"s"
|
||||||
],
|
],
|
||||||
|
@ -5560,7 +5584,7 @@
|
||||||
"Examples": null
|
"Examples": null
|
||||||
},
|
},
|
||||||
"Markdownify": {
|
"Markdownify": {
|
||||||
"Description": "Markdownify renders a given input from Markdown to HTML.",
|
"Description": "Markdownify renders s from Markdown to HTML.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"s"
|
"s"
|
||||||
],
|
],
|
||||||
|
@ -5625,9 +5649,9 @@
|
||||||
},
|
},
|
||||||
"urls": {
|
"urls": {
|
||||||
"AbsLangURL": {
|
"AbsLangURL": {
|
||||||
"Description": "AbsLangURL takes a given string and converts it to an absolute URL according\nto a page's position in the project directory structure and the current\nlanguage.",
|
"Description": "AbsLangURL the string s and converts it to an absolute URL according\nto a page's position in the project directory structure and the current\nlanguage.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"a"
|
"s"
|
||||||
],
|
],
|
||||||
"Aliases": [
|
"Aliases": [
|
||||||
"absLangURL"
|
"absLangURL"
|
||||||
|
@ -5635,9 +5659,9 @@
|
||||||
"Examples": []
|
"Examples": []
|
||||||
},
|
},
|
||||||
"AbsURL": {
|
"AbsURL": {
|
||||||
"Description": "AbsURL takes a given string and converts it to an absolute URL.",
|
"Description": "AbsURL takes the string s and converts it to an absolute URL.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"a"
|
"s"
|
||||||
],
|
],
|
||||||
"Aliases": [
|
"Aliases": [
|
||||||
"absURL"
|
"absURL"
|
||||||
|
@ -5645,9 +5669,9 @@
|
||||||
"Examples": []
|
"Examples": []
|
||||||
},
|
},
|
||||||
"Anchorize": {
|
"Anchorize": {
|
||||||
"Description": "Anchorize creates sanitized anchor names that are compatible with Blackfriday.",
|
"Description": "Anchorize creates sanitized anchor name version of the string s that is compatible\nwith how your configured markdown renderer does it.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"a"
|
"s"
|
||||||
],
|
],
|
||||||
"Aliases": [
|
"Aliases": [
|
||||||
"anchorize"
|
"anchorize"
|
||||||
|
@ -5666,9 +5690,9 @@
|
||||||
"Examples": null
|
"Examples": null
|
||||||
},
|
},
|
||||||
"Ref": {
|
"Ref": {
|
||||||
"Description": "Ref returns the absolute URL path to a given content item.",
|
"Description": "Ref returns the absolute URL path to a given content item from Page p.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"in",
|
"p",
|
||||||
"args"
|
"args"
|
||||||
],
|
],
|
||||||
"Aliases": [
|
"Aliases": [
|
||||||
|
@ -5677,9 +5701,9 @@
|
||||||
"Examples": []
|
"Examples": []
|
||||||
},
|
},
|
||||||
"RelLangURL": {
|
"RelLangURL": {
|
||||||
"Description": "RelLangURL takes a given string and prepends the relative path according to a\npage's position in the project directory structure and the current language.",
|
"Description": "RelLangURL takes the string s and prepends the relative path according to a\npage's position in the project directory structure and the current language.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"a"
|
"s"
|
||||||
],
|
],
|
||||||
"Aliases": [
|
"Aliases": [
|
||||||
"relLangURL"
|
"relLangURL"
|
||||||
|
@ -5687,9 +5711,9 @@
|
||||||
"Examples": []
|
"Examples": []
|
||||||
},
|
},
|
||||||
"RelRef": {
|
"RelRef": {
|
||||||
"Description": "RelRef returns the relative URL path to a given content item.",
|
"Description": "RelRef returns the relative URL path to a given content item from Page p.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"in",
|
"p",
|
||||||
"args"
|
"args"
|
||||||
],
|
],
|
||||||
"Aliases": [
|
"Aliases": [
|
||||||
|
@ -5698,9 +5722,9 @@
|
||||||
"Examples": []
|
"Examples": []
|
||||||
},
|
},
|
||||||
"RelURL": {
|
"RelURL": {
|
||||||
"Description": "RelURL takes a given string and prepends the relative path according to a\npage's position in the project directory structure.",
|
"Description": "RelURL takes the string s and prepends the relative path according to a\npage's position in the project directory structure.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"a"
|
"s"
|
||||||
],
|
],
|
||||||
"Aliases": [
|
"Aliases": [
|
||||||
"relURL"
|
"relURL"
|
||||||
|
@ -5708,9 +5732,9 @@
|
||||||
"Examples": []
|
"Examples": []
|
||||||
},
|
},
|
||||||
"URLize": {
|
"URLize": {
|
||||||
"Description": "URLize returns the given argument formatted as URL.",
|
"Description": "URLize returns the the strings s formatted as an URL.",
|
||||||
"Args": [
|
"Args": [
|
||||||
"a"
|
"s"
|
||||||
],
|
],
|
||||||
"Aliases": [
|
"Aliases": [
|
||||||
"urlize"
|
"urlize"
|
||||||
|
|
Loading…
Reference in a new issue