commit a358b33f262e2de61b58cf9f2071a4a898e55bef
parent a392fca962e1ee56e3fe6cea75b8c4ba5d853583
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date: Thu, 6 Jul 2017 10:36:13 +0200
docs: Regenerate the docs helpers
Diffstat:
1 file changed, 46 insertions(+), 9 deletions(-)
diff --git a/docs/data/docs.json b/docs/data/docs.json
@@ -6,63 +6,72 @@
"String": "application/javascript+js",
"MainType": "application",
"SubType": "javascript",
- "Suffix": "js"
+ "Suffix": "js",
+ "Delimiter": "."
},
{
"Type": "application/json",
"String": "application/json+json",
"MainType": "application",
"SubType": "json",
- "Suffix": "json"
+ "Suffix": "json",
+ "Delimiter": "."
},
{
"Type": "application/rss",
"String": "application/rss+xml",
"MainType": "application",
"SubType": "rss",
- "Suffix": "xml"
+ "Suffix": "xml",
+ "Delimiter": "."
},
{
"Type": "application/xml",
"String": "application/xml+xml",
"MainType": "application",
"SubType": "xml",
- "Suffix": "xml"
+ "Suffix": "xml",
+ "Delimiter": "."
},
{
"Type": "text/calendar",
"String": "text/calendar+ics",
"MainType": "text",
"SubType": "calendar",
- "Suffix": "ics"
+ "Suffix": "ics",
+ "Delimiter": "."
},
{
"Type": "text/css",
"String": "text/css+css",
"MainType": "text",
"SubType": "css",
- "Suffix": "css"
+ "Suffix": "css",
+ "Delimiter": "."
},
{
"Type": "text/csv",
"String": "text/csv+csv",
"MainType": "text",
"SubType": "csv",
- "Suffix": "csv"
+ "Suffix": "csv",
+ "Delimiter": "."
},
{
"Type": "text/html",
"String": "text/html+html",
"MainType": "text",
"SubType": "html",
- "Suffix": "html"
+ "Suffix": "html",
+ "Delimiter": "."
},
{
"Type": "text/plain",
"String": "text/plain+txt",
"MainType": "text",
"SubType": "plain",
- "Suffix": "txt"
+ "Suffix": "txt",
+ "Delimiter": "."
}
]
},
@@ -170,6 +179,21 @@
]
},
{
+ "Example": "AMP home, French language\".",
+ "OutputFormat": "AMP",
+ "Suffix": "html",
+ "Template Lookup Order": [
+ "layouts/index.fr.amp.html",
+ "layouts/index.amp.html",
+ "layouts/index.fr.html",
+ "layouts/index.html",
+ "layouts/_default/list.fr.amp.html",
+ "layouts/_default/list.amp.html",
+ "layouts/_default/list.fr.html",
+ "layouts/_default/list.html"
+ ]
+ },
+ {
"Example": "JSON home, no theme.",
"OutputFormat": "JSON",
"Suffix": "json",
@@ -961,6 +985,19 @@
]
]
},
+ "Log": {
+ "Description": "",
+ "Args": [
+ "a"
+ ],
+ "Aliases": null,
+ "Examples": [
+ [
+ "{{math.Log 1}}",
+ "0"
+ ]
+ ]
+ },
"Mod": {
"Description": "Mod returns a % b.",
"Args": [