From a358b33f262e2de61b58cf9f2071a4a898e55bef Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Thu, 6 Jul 2017 10:36:13 +0200 Subject: [PATCH] docs: Regenerate the docs helpers --- docs/data/docs.json | 55 +++++++++++++++++++++++++++++++++++++-------- 1 file changed, 46 insertions(+), 9 deletions(-) diff --git a/docs/data/docs.json b/docs/data/docs.json index 83d614af..90edb9bc 100644 --- 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": "." } ] }, @@ -169,6 +178,21 @@ "demoTheme/layouts/_default/list.html" ] }, + { + "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", @@ -961,6 +985,19 @@ ] ] }, + "Log": { + "Description": "", + "Args": [ + "a" + ], + "Aliases": null, + "Examples": [ + [ + "{{math.Log 1}}", + "0" + ] + ] + }, "Mod": { "Description": "Mod returns a % b.", "Args": [ -- 2.30.2