Add regenerated docs.json

This commit is contained in:
Ryan Watters 2017-06-20 15:31:41 -05:00 committed by Anthony Fok
parent b7f8d05731
commit 0671aed5b6

View File

@ -1,63 +1,74 @@
{ {
"media": { "media": {
"types": [{ "types": [
{
"Type": "application/javascript", "Type": "application/javascript",
"String": "application/javascript+js", "String": "application/javascript+js",
"MainType": "application", "MainType": "application",
"SubType": "javascript", "SubType": "javascript",
"Suffix": "js" "Suffix": "js"
}, { },
{
"Type": "application/json", "Type": "application/json",
"String": "application/json+json", "String": "application/json+json",
"MainType": "application", "MainType": "application",
"SubType": "json", "SubType": "json",
"Suffix": "json" "Suffix": "json"
}, { },
{
"Type": "application/rss", "Type": "application/rss",
"String": "application/rss+xml", "String": "application/rss+xml",
"MainType": "application", "MainType": "application",
"SubType": "rss", "SubType": "rss",
"Suffix": "xml" "Suffix": "xml"
}, { },
{
"Type": "application/xml", "Type": "application/xml",
"String": "application/xml+xml", "String": "application/xml+xml",
"MainType": "application", "MainType": "application",
"SubType": "xml", "SubType": "xml",
"Suffix": "xml" "Suffix": "xml"
}, { },
{
"Type": "text/calendar", "Type": "text/calendar",
"String": "text/calendar+ics", "String": "text/calendar+ics",
"MainType": "text", "MainType": "text",
"SubType": "calendar", "SubType": "calendar",
"Suffix": "ics" "Suffix": "ics"
}, { },
{
"Type": "text/css", "Type": "text/css",
"String": "text/css+css", "String": "text/css+css",
"MainType": "text", "MainType": "text",
"SubType": "css", "SubType": "css",
"Suffix": "css" "Suffix": "css"
}, { },
{
"Type": "text/csv", "Type": "text/csv",
"String": "text/csv+csv", "String": "text/csv+csv",
"MainType": "text", "MainType": "text",
"SubType": "csv", "SubType": "csv",
"Suffix": "csv" "Suffix": "csv"
}, { },
{
"Type": "text/html", "Type": "text/html",
"String": "text/html+html", "String": "text/html+html",
"MainType": "text", "MainType": "text",
"SubType": "html", "SubType": "html",
"Suffix": "html" "Suffix": "html"
}, { },
{
"Type": "text/plain", "Type": "text/plain",
"String": "text/plain+txt", "String": "text/plain+txt",
"MainType": "text", "MainType": "text",
"SubType": "plain", "SubType": "plain",
"Suffix": "txt" "Suffix": "txt"
}] }
]
}, },
"output": { "output": {
"formats": [{ "formats": [
{
"MediaType": "text/html+html", "MediaType": "text/html+html",
"Name": "AMP", "Name": "AMP",
"Path": "amp", "Path": "amp",
@ -68,7 +79,8 @@
"IsHTML": true, "IsHTML": true,
"NoUgly": false, "NoUgly": false,
"NotAlternative": false "NotAlternative": false
}, { },
{
"MediaType": "text/css+css", "MediaType": "text/css+css",
"Name": "CSS", "Name": "CSS",
"Path": "", "Path": "",
@ -79,7 +91,8 @@
"IsHTML": false, "IsHTML": false,
"NoUgly": false, "NoUgly": false,
"NotAlternative": true "NotAlternative": true
}, { },
{
"MediaType": "text/csv+csv", "MediaType": "text/csv+csv",
"Name": "CSV", "Name": "CSV",
"Path": "", "Path": "",
@ -90,7 +103,8 @@
"IsHTML": false, "IsHTML": false,
"NoUgly": false, "NoUgly": false,
"NotAlternative": false "NotAlternative": false
}, { },
{
"MediaType": "text/calendar+ics", "MediaType": "text/calendar+ics",
"Name": "Calendar", "Name": "Calendar",
"Path": "", "Path": "",
@ -101,7 +115,8 @@
"IsHTML": false, "IsHTML": false,
"NoUgly": false, "NoUgly": false,
"NotAlternative": false "NotAlternative": false
}, { },
{
"MediaType": "text/html+html", "MediaType": "text/html+html",
"Name": "HTML", "Name": "HTML",
"Path": "", "Path": "",
@ -112,7 +127,8 @@
"IsHTML": true, "IsHTML": true,
"NoUgly": false, "NoUgly": false,
"NotAlternative": false "NotAlternative": false
}, { },
{
"MediaType": "application/json+json", "MediaType": "application/json+json",
"Name": "JSON", "Name": "JSON",
"Path": "", "Path": "",
@ -123,7 +139,8 @@
"IsHTML": false, "IsHTML": false,
"NoUgly": false, "NoUgly": false,
"NotAlternative": false "NotAlternative": false
}, { },
{
"MediaType": "application/rss+xml", "MediaType": "application/rss+xml",
"Name": "RSS", "Name": "RSS",
"Path": "", "Path": "",
@ -134,8 +151,10 @@
"IsHTML": false, "IsHTML": false,
"NoUgly": true, "NoUgly": true,
"NotAlternative": false "NotAlternative": false
}], }
"layouts": [{ ],
"layouts": [
{
"Example": "AMP home, with theme \"demoTheme\".", "Example": "AMP home, with theme \"demoTheme\".",
"OutputFormat": "AMP", "OutputFormat": "AMP",
"Suffix": "html", "Suffix": "html",
@ -149,7 +168,8 @@
"demoTheme/layouts/_default/list.amp.html", "demoTheme/layouts/_default/list.amp.html",
"demoTheme/layouts/_default/list.html" "demoTheme/layouts/_default/list.html"
] ]
}, { },
{
"Example": "JSON home, no theme.", "Example": "JSON home, no theme.",
"OutputFormat": "JSON", "OutputFormat": "JSON",
"Suffix": "json", "Suffix": "json",
@ -159,7 +179,8 @@
"layouts/_default/list.json.json", "layouts/_default/list.json.json",
"layouts/_default/list.json" "layouts/_default/list.json"
] ]
}, { },
{
"Example": "CSV regular, \"layout: demolayout\" in front matter.", "Example": "CSV regular, \"layout: demolayout\" in front matter.",
"OutputFormat": "CSV", "OutputFormat": "CSV",
"Suffix": "csv", "Suffix": "csv",
@ -167,7 +188,8 @@
"layouts/_default/demolayout.csv.csv", "layouts/_default/demolayout.csv.csv",
"layouts/_default/demolayout.csv" "layouts/_default/demolayout.csv"
] ]
}, { },
{
"Example": "JSON regular, \"type: demotype\" in front matter.", "Example": "JSON regular, \"type: demotype\" in front matter.",
"OutputFormat": "JSON", "OutputFormat": "JSON",
"Suffix": "json", "Suffix": "json",
@ -177,7 +199,8 @@
"layouts/_default/single.json.json", "layouts/_default/single.json.json",
"layouts/_default/single.json" "layouts/_default/single.json"
] ]
}, { },
{
"Example": "HTML regular.", "Example": "HTML regular.",
"OutputFormat": "HTML", "OutputFormat": "HTML",
"Suffix": "html", "Suffix": "html",
@ -185,7 +208,8 @@
"layouts/_default/single.html.html", "layouts/_default/single.html.html",
"layouts/_default/single.html" "layouts/_default/single.html"
] ]
}, { },
{
"Example": "AMP regular.", "Example": "AMP regular.",
"OutputFormat": "AMP", "OutputFormat": "AMP",
"Suffix": "html", "Suffix": "html",
@ -193,7 +217,8 @@
"layouts/_default/single.amp.html", "layouts/_default/single.amp.html",
"layouts/_default/single.html" "layouts/_default/single.html"
] ]
}, { },
{
"Example": "Calendar blog section.", "Example": "Calendar blog section.",
"OutputFormat": "Calendar", "OutputFormat": "Calendar",
"Suffix": "ics", "Suffix": "ics",
@ -207,7 +232,8 @@
"layouts/_default/list.calendar.ics", "layouts/_default/list.calendar.ics",
"layouts/_default/list.ics" "layouts/_default/list.ics"
] ]
}, { },
{
"Example": "Calendar taxonomy list.", "Example": "Calendar taxonomy list.",
"OutputFormat": "Calendar", "OutputFormat": "Calendar",
"Suffix": "ics", "Suffix": "ics",
@ -219,7 +245,8 @@
"layouts/_default/list.calendar.ics", "layouts/_default/list.calendar.ics",
"layouts/_default/list.ics" "layouts/_default/list.ics"
] ]
}, { },
{
"Example": "Calendar taxonomy term.", "Example": "Calendar taxonomy term.",
"OutputFormat": "Calendar", "OutputFormat": "Calendar",
"Suffix": "ics", "Suffix": "ics",
@ -229,7 +256,8 @@
"layouts/_default/terms.calendar.ics", "layouts/_default/terms.calendar.ics",
"layouts/_default/terms.ics" "layouts/_default/terms.ics"
] ]
}] }
]
}, },
"tpl": { "tpl": {
"funcs": { "funcs": {
@ -583,6 +611,21 @@
] ]
] ]
}, },
"Uniq": {
"Description": "Uniq takes in a slice or array and returns a slice with subsequent\nduplicate elements removed.",
"Args": [
"l"
],
"Aliases": [
"uniq"
],
"Examples": [
[
"{{ slice 1 2 3 2 | uniq }}",
"[1 2 3]"
]
]
},
"Where": { "Where": {
"Description": "Where returns a filtered subset of a given data type.", "Description": "Where returns a filtered subset of a given data type.",
"Args": [ "Args": [