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,235 +1,263 @@
{ {
"media": { "media": {
"types": [{ "types": [
"Type": "application/javascript", {
"String": "application/javascript+js", "Type": "application/javascript",
"MainType": "application", "String": "application/javascript+js",
"SubType": "javascript", "MainType": "application",
"Suffix": "js" "SubType": "javascript",
}, { "Suffix": "js"
"Type": "application/json", },
"String": "application/json+json", {
"MainType": "application", "Type": "application/json",
"SubType": "json", "String": "application/json+json",
"Suffix": "json" "MainType": "application",
}, { "SubType": "json",
"Type": "application/rss", "Suffix": "json"
"String": "application/rss+xml", },
"MainType": "application", {
"SubType": "rss", "Type": "application/rss",
"Suffix": "xml" "String": "application/rss+xml",
}, { "MainType": "application",
"Type": "application/xml", "SubType": "rss",
"String": "application/xml+xml", "Suffix": "xml"
"MainType": "application", },
"SubType": "xml", {
"Suffix": "xml" "Type": "application/xml",
}, { "String": "application/xml+xml",
"Type": "text/calendar", "MainType": "application",
"String": "text/calendar+ics", "SubType": "xml",
"MainType": "text", "Suffix": "xml"
"SubType": "calendar", },
"Suffix": "ics" {
}, { "Type": "text/calendar",
"Type": "text/css", "String": "text/calendar+ics",
"String": "text/css+css", "MainType": "text",
"MainType": "text", "SubType": "calendar",
"SubType": "css", "Suffix": "ics"
"Suffix": "css" },
}, { {
"Type": "text/csv", "Type": "text/css",
"String": "text/csv+csv", "String": "text/css+css",
"MainType": "text", "MainType": "text",
"SubType": "csv", "SubType": "css",
"Suffix": "csv" "Suffix": "css"
}, { },
"Type": "text/html", {
"String": "text/html+html", "Type": "text/csv",
"MainType": "text", "String": "text/csv+csv",
"SubType": "html", "MainType": "text",
"Suffix": "html" "SubType": "csv",
}, { "Suffix": "csv"
"Type": "text/plain", },
"String": "text/plain+txt", {
"MainType": "text", "Type": "text/html",
"SubType": "plain", "String": "text/html+html",
"Suffix": "txt" "MainType": "text",
}] "SubType": "html",
"Suffix": "html"
},
{
"Type": "text/plain",
"String": "text/plain+txt",
"MainType": "text",
"SubType": "plain",
"Suffix": "txt"
}
]
}, },
"output": { "output": {
"formats": [{ "formats": [
"MediaType": "text/html+html", {
"Name": "AMP", "MediaType": "text/html+html",
"Path": "amp", "Name": "AMP",
"BaseName": "index", "Path": "amp",
"Rel": "amphtml", "BaseName": "index",
"Protocol": "", "Rel": "amphtml",
"IsPlainText": false, "Protocol": "",
"IsHTML": true, "IsPlainText": false,
"NoUgly": false, "IsHTML": true,
"NotAlternative": false "NoUgly": false,
}, { "NotAlternative": false
"MediaType": "text/css+css", },
"Name": "CSS", {
"Path": "", "MediaType": "text/css+css",
"BaseName": "styles", "Name": "CSS",
"Rel": "stylesheet", "Path": "",
"Protocol": "", "BaseName": "styles",
"IsPlainText": true, "Rel": "stylesheet",
"IsHTML": false, "Protocol": "",
"NoUgly": false, "IsPlainText": true,
"NotAlternative": true "IsHTML": false,
}, { "NoUgly": false,
"MediaType": "text/csv+csv", "NotAlternative": true
"Name": "CSV", },
"Path": "", {
"BaseName": "index", "MediaType": "text/csv+csv",
"Rel": "alternate", "Name": "CSV",
"Protocol": "", "Path": "",
"IsPlainText": true, "BaseName": "index",
"IsHTML": false, "Rel": "alternate",
"NoUgly": false, "Protocol": "",
"NotAlternative": false "IsPlainText": true,
}, { "IsHTML": false,
"MediaType": "text/calendar+ics", "NoUgly": false,
"Name": "Calendar", "NotAlternative": false
"Path": "", },
"BaseName": "index", {
"Rel": "alternate", "MediaType": "text/calendar+ics",
"Protocol": "webcal://", "Name": "Calendar",
"IsPlainText": true, "Path": "",
"IsHTML": false, "BaseName": "index",
"NoUgly": false, "Rel": "alternate",
"NotAlternative": false "Protocol": "webcal://",
}, { "IsPlainText": true,
"MediaType": "text/html+html", "IsHTML": false,
"Name": "HTML", "NoUgly": false,
"Path": "", "NotAlternative": false
"BaseName": "index", },
"Rel": "canonical", {
"Protocol": "", "MediaType": "text/html+html",
"IsPlainText": false, "Name": "HTML",
"IsHTML": true, "Path": "",
"NoUgly": false, "BaseName": "index",
"NotAlternative": false "Rel": "canonical",
}, { "Protocol": "",
"MediaType": "application/json+json", "IsPlainText": false,
"Name": "JSON", "IsHTML": true,
"Path": "", "NoUgly": false,
"BaseName": "index", "NotAlternative": false
"Rel": "alternate", },
"Protocol": "", {
"IsPlainText": true, "MediaType": "application/json+json",
"IsHTML": false, "Name": "JSON",
"NoUgly": false, "Path": "",
"NotAlternative": false "BaseName": "index",
}, { "Rel": "alternate",
"MediaType": "application/rss+xml", "Protocol": "",
"Name": "RSS", "IsPlainText": true,
"Path": "", "IsHTML": false,
"BaseName": "index", "NoUgly": false,
"Rel": "alternate", "NotAlternative": false
"Protocol": "", },
"IsPlainText": false, {
"IsHTML": false, "MediaType": "application/rss+xml",
"NoUgly": true, "Name": "RSS",
"NotAlternative": false "Path": "",
}], "BaseName": "index",
"layouts": [{ "Rel": "alternate",
"Example": "AMP home, with theme \"demoTheme\".", "Protocol": "",
"OutputFormat": "AMP", "IsPlainText": false,
"Suffix": "html", "IsHTML": false,
"Template Lookup Order": [ "NoUgly": true,
"layouts/index.amp.html", "NotAlternative": false
"layouts/index.html", }
"layouts/_default/list.amp.html", ],
"layouts/_default/list.html", "layouts": [
"demoTheme/layouts/index.amp.html", {
"demoTheme/layouts/index.html", "Example": "AMP home, with theme \"demoTheme\".",
"demoTheme/layouts/_default/list.amp.html", "OutputFormat": "AMP",
"demoTheme/layouts/_default/list.html" "Suffix": "html",
] "Template Lookup Order": [
}, { "layouts/index.amp.html",
"Example": "JSON home, no theme.", "layouts/index.html",
"OutputFormat": "JSON", "layouts/_default/list.amp.html",
"Suffix": "json", "layouts/_default/list.html",
"Template Lookup Order": [ "demoTheme/layouts/index.amp.html",
"layouts/index.json.json", "demoTheme/layouts/index.html",
"layouts/index.json", "demoTheme/layouts/_default/list.amp.html",
"layouts/_default/list.json.json", "demoTheme/layouts/_default/list.html"
"layouts/_default/list.json" ]
] },
}, { {
"Example": "CSV regular, \"layout: demolayout\" in front matter.", "Example": "JSON home, no theme.",
"OutputFormat": "CSV", "OutputFormat": "JSON",
"Suffix": "csv", "Suffix": "json",
"Template Lookup Order": [ "Template Lookup Order": [
"layouts/_default/demolayout.csv.csv", "layouts/index.json.json",
"layouts/_default/demolayout.csv" "layouts/index.json",
] "layouts/_default/list.json.json",
}, { "layouts/_default/list.json"
"Example": "JSON regular, \"type: demotype\" in front matter.", ]
"OutputFormat": "JSON", },
"Suffix": "json", {
"Template Lookup Order": [ "Example": "CSV regular, \"layout: demolayout\" in front matter.",
"layouts/demotype/single.json.json", "OutputFormat": "CSV",
"layouts/demotype/single.json", "Suffix": "csv",
"layouts/_default/single.json.json", "Template Lookup Order": [
"layouts/_default/single.json" "layouts/_default/demolayout.csv.csv",
] "layouts/_default/demolayout.csv"
}, { ]
"Example": "HTML regular.", },
"OutputFormat": "HTML", {
"Suffix": "html", "Example": "JSON regular, \"type: demotype\" in front matter.",
"Template Lookup Order": [ "OutputFormat": "JSON",
"layouts/_default/single.html.html", "Suffix": "json",
"layouts/_default/single.html" "Template Lookup Order": [
] "layouts/demotype/single.json.json",
}, { "layouts/demotype/single.json",
"Example": "AMP regular.", "layouts/_default/single.json.json",
"OutputFormat": "AMP", "layouts/_default/single.json"
"Suffix": "html", ]
"Template Lookup Order": [ },
"layouts/_default/single.amp.html", {
"layouts/_default/single.html" "Example": "HTML regular.",
] "OutputFormat": "HTML",
}, { "Suffix": "html",
"Example": "Calendar blog section.", "Template Lookup Order": [
"OutputFormat": "Calendar", "layouts/_default/single.html.html",
"Suffix": "ics", "layouts/_default/single.html"
"Template Lookup Order": [ ]
"layouts/section/blog.calendar.ics", },
"layouts/section/blog.ics", {
"layouts/blog/list.calendar.ics", "Example": "AMP regular.",
"layouts/blog/list.ics", "OutputFormat": "AMP",
"layouts/_default/section.calendar.ics", "Suffix": "html",
"layouts/_default/section.ics", "Template Lookup Order": [
"layouts/_default/list.calendar.ics", "layouts/_default/single.amp.html",
"layouts/_default/list.ics" "layouts/_default/single.html"
] ]
}, { },
"Example": "Calendar taxonomy list.", {
"OutputFormat": "Calendar", "Example": "Calendar blog section.",
"Suffix": "ics", "OutputFormat": "Calendar",
"Template Lookup Order": [ "Suffix": "ics",
"layouts/taxonomy/tag.calendar.ics", "Template Lookup Order": [
"layouts/taxonomy/tag.ics", "layouts/section/blog.calendar.ics",
"layouts/_default/taxonomy.calendar.ics", "layouts/section/blog.ics",
"layouts/_default/taxonomy.ics", "layouts/blog/list.calendar.ics",
"layouts/_default/list.calendar.ics", "layouts/blog/list.ics",
"layouts/_default/list.ics" "layouts/_default/section.calendar.ics",
] "layouts/_default/section.ics",
}, { "layouts/_default/list.calendar.ics",
"Example": "Calendar taxonomy term.", "layouts/_default/list.ics"
"OutputFormat": "Calendar", ]
"Suffix": "ics", },
"Template Lookup Order": [ {
"layouts/taxonomy/tag.terms.calendar.ics", "Example": "Calendar taxonomy list.",
"layouts/taxonomy/tag.terms.ics", "OutputFormat": "Calendar",
"layouts/_default/terms.calendar.ics", "Suffix": "ics",
"layouts/_default/terms.ics" "Template Lookup Order": [
] "layouts/taxonomy/tag.calendar.ics",
}] "layouts/taxonomy/tag.ics",
"layouts/_default/taxonomy.calendar.ics",
"layouts/_default/taxonomy.ics",
"layouts/_default/list.calendar.ics",
"layouts/_default/list.ics"
]
},
{
"Example": "Calendar taxonomy term.",
"OutputFormat": "Calendar",
"Suffix": "ics",
"Template Lookup Order": [
"layouts/taxonomy/tag.terms.calendar.ics",
"layouts/taxonomy/tag.terms.ics",
"layouts/_default/terms.calendar.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": [