diff options
Diffstat (limited to 'docs/data/docs.json')
-rw-r--r-- | docs/data/docs.json | 975 |
1 files changed, 618 insertions, 357 deletions
diff --git a/docs/data/docs.json b/docs/data/docs.json index 8d130b2fc..23f9710bb 100644 --- a/docs/data/docs.json +++ b/docs/data/docs.json @@ -1600,6 +1600,144 @@ ] }, "config": { + "baseURL": "", + "buildDrafts": false, + "buildExpired": false, + "buildFuture": false, + "copyright": "", + "defaultContentLanguage": "en", + "defaultContentLanguageInSubdir": false, + "disableAliases": false, + "disablePathToLower": false, + "disableKinds": null, + "disableLanguages": null, + "disableHugoGeneratorInject": false, + "disableLiveReload": false, + "enableEmoji": false, + "mainSections": null, + "enableRobotsTXT": false, + "enableGitInfo": false, + "templateMetrics": false, + "templateMetricsHints": false, + "noBuildLock": false, + "ignoreErrors": null, + "ignoreFiles": [], + "ignoreCache": false, + "enableMissingTranslationPlaceholders": false, + "panicOnWarning": false, + "environment": "production", + "languageCode": "", + "hasCJKLanguage": false, + "paginate": 10, + "paginatePath": "page", + "pluralizeListTitles": true, + "canonifyURLs": false, + "relativeURLs": false, + "removePathAccents": false, + "printUnusedTemplates": false, + "printI18nWarnings": false, + "printPathWarnings": false, + "refLinksNotFoundURL": "", + "refLinksErrorLevel": "", + "sectionPagesMenu": "", + "summaryLength": 70, + "title": "", + "theme": null, + "timeout": "30s", + "timeZone": "", + "titleCaseStyle": "AP", + "newContentEditor": "", + "noTimes": false, + "noChmod": false, + "cleanDestinationDir": false, + "ignoreVendorPaths": "", + "themesDir": "themes", + "publishDir": "public", + "resourceDir": "resources", + "workingDir": "", + "cacheDir": "", + "contentDir": "content", + "dataDir": "data", + "layoutDir": "layouts", + "i18nDir": "i18n", + "archeTypeDir": "archetypes", + "assetDir": "assets", + "staticDir": [ + "static" + ], + "staticDir0": null, + "staticDir1": null, + "staticDir2": null, + "staticDir3": null, + "staticDir4": null, + "staticDir5": null, + "staticDir6": null, + "staticDir7": null, + "staticDir8": null, + "staticDir9": null, + "staticDir10": null, + "author": {}, + "social": null, + "build": { + "useResourceCacheWhen": "fallback", + "buildStats": { + "enable": false, + "disableTags": false, + "disableClasses": false, + "disableIDs": false + }, + "noJSConfigInAssets": false, + "cacheBusters": [ + { + "source": "assets/.*\\.(js|ts|jsx|tsx)", + "target": "(js|scripts|javascript)" + }, + { + "source": "assets/.*\\.(css|sass|scss)$", + "target": "(css|styles|scss|sass)" + }, + { + "source": "(postcss|tailwind)\\.config\\.js", + "target": "(css|styles|scss|sass)" + }, + { + "source": "assets/.*\\.(.*)$", + "target": "$1" + } + ] + }, + "caches": { + "assets": { + "maxAge": -1, + "dir": ":resourceDir/_gen", + "isResourceDir": true + }, + "getcsv": { + "maxAge": -1, + "dir": ":cacheDir/:project", + "isResourceDir": false + }, + "getjson": { + "maxAge": -1, + "dir": ":cacheDir/:project", + "isResourceDir": false + }, + "getresource": { + "maxAge": -1, + "dir": ":cacheDir/:project", + "isResourceDir": false + }, + "images": { + "maxAge": 1800000000000000, + "dir": ":cacheDir/images", + "isResourceDir": false + }, + "modules": { + "maxAge": -1, + "dir": ":cacheDir/modules", + "isResourceDir": false + } + }, "markup": { "defaultMarkdownHandler": "goldmark", "highlight": { @@ -1674,287 +1812,86 @@ "preserveTOC": false } }, - "mergeStrategy": { - "build": { - "_merge": "none" - }, - "caches": { - "_merge": "none" - }, - "cascade": { - "_merge": "none" - }, - "frontmatter": { - "_merge": "none" - }, - "imaging": { - "_merge": "none" - }, - "languages": { - "_merge": "none", - "en": { - "_merge": "none", - "menus": { - "_merge": "shallow" - }, - "params": { - "_merge": "deep" - } - } - }, - "markup": { - "_merge": "none" - }, - "mediatypes": { - "_merge": "shallow" - }, - "menus": { - "_merge": "shallow" - }, - "minify": { - "_merge": "none" - }, - "module": { - "_merge": "none" - }, - "outputformats": { - "_merge": "shallow" - }, - "params": { - "_merge": "deep" - }, - "permalinks": { - "_merge": "none" - }, - "privacy": { - "_merge": "none" - }, - "related": { - "_merge": "none" - }, - "security": { - "_merge": "none" - }, - "sitemap": { - "_merge": "none" - }, - "taxonomies": { - "_merge": "none" - } - }, - "minify": { - "minifyOutput": false, - "disableHTML": false, - "disableCSS": false, - "disableJS": false, - "disableJSON": false, - "disableSVG": false, - "disableXML": false, - "tdewolff": { - "html": { - "keepComments": false, - "keepConditionalComments": true, - "keepDefaultAttrVals": true, - "keepDocumentTags": true, - "keepEndTags": true, - "keepQuotes": false, - "keepWhitespace": false - }, - "css": { - "keepCSS2": true, - "precision": 0 - }, - "js": { - "precision": 0, - "keepVarNames": false, - "version": 2022 - }, - "json": { - "precision": 0, - "keepNumbers": false - }, - "svg": { - "keepComments": false, - "precision": 0 - }, - "xml": { - "keepWhitespace": false - } - } - }, - "security": { - "enableInlineShortcodes": false, - "exec": { - "allow": [ - "^(dart-)?sass(-embedded)?$", - "^go$", - "^npx$", - "^postcss$" - ], - "osEnv": [ - "(?i)^((HTTPS?|NO)_PROXY|PATH(EXT)?|APPDATA|TE?MP|TERM|GO\\w+|(XDG_CONFIG_)?HOME|USERPROFILE|SSH_AUTH_SOCK|DISPLAY|LANG)$" - ] - }, - "funcs": { - "getenv": [ - "^HUGO_", - "^CI$" - ] - }, - "goTemplates": { - "AllowActionJSTmpl": false - }, - "http": { - "mediaTypes": null, - "methods": [ - "(?i)GET|POST" - ], - "urls": [ - ".*" - ] - } - } - }, - "media": { - "types": [ - { - "mainType": "application", - "subType": "json", + "mediaTypes": { + "application/json": { "delimiter": ".", - "type": "application/json", - "string": "application/json", "suffixes": [ "json" ] }, - { - "mainType": "application", - "subType": "manifest", + "application/manifest+json": { "delimiter": ".", - "type": "application/manifest+json", - "string": "application/manifest+json", "suffixes": [ "webmanifest" ] }, - { - "mainType": "application", - "subType": "octet-stream", - "delimiter": ".", - "type": "application/octet-stream", - "string": "application/octet-stream", - "suffixes": [ - "" - ] + "application/octet-stream": { + "delimiter": "." }, - { - "mainType": "application", - "subType": "pdf", + "application/pdf": { "delimiter": ".", - "type": "application/pdf", - "string": "application/pdf", "suffixes": [ "pdf" ] }, - { - "mainType": "application", - "subType": "rss", + "application/rss+xml": { "delimiter": ".", - "type": "application/rss+xml", - "string": "application/rss+xml", "suffixes": [ "xml", "rss" ] }, - { - "mainType": "application", - "subType": "toml", + "application/toml": { "delimiter": ".", - "type": "application/toml", - "string": "application/toml", "suffixes": [ "toml" ] }, - { - "mainType": "application", - "subType": "wasm", + "application/wasm": { "delimiter": ".", - "type": "application/wasm", - "string": "application/wasm", "suffixes": [ "wasm" ] }, - { - "mainType": "application", - "subType": "xml", + "application/xml": { "delimiter": ".", - "type": "application/xml", - "string": "application/xml", "suffixes": [ "xml" ] }, - { - "mainType": "application", - "subType": "yaml", + "application/yaml": { "delimiter": ".", - "type": "application/yaml", - "string": "application/yaml", "suffixes": [ "yaml", "yml" ] }, - { - "mainType": "font", - "subType": "otf", + "font/otf": { "delimiter": ".", - "type": "font/otf", - "string": "font/otf", "suffixes": [ "otf" ] }, - { - "mainType": "font", - "subType": "ttf", + "font/ttf": { "delimiter": ".", - "type": "font/ttf", - "string": "font/ttf", "suffixes": [ "ttf" ] }, - { - "mainType": "image", - "subType": "bmp", + "image/bmp": { "delimiter": ".", - "type": "image/bmp", - "string": "image/bmp", "suffixes": [ "bmp" ] }, - { - "mainType": "image", - "subType": "gif", + "image/gif": { "delimiter": ".", - "type": "image/gif", - "string": "image/gif", "suffixes": [ "gif" ] }, - { - "mainType": "image", - "subType": "jpeg", + "image/jpeg": { "delimiter": ".", - "type": "image/jpeg", - "string": "image/jpeg", "suffixes": [ "jpg", "jpeg", @@ -1963,251 +1900,153 @@ "jfif" ] }, - { - "mainType": "image", - "subType": "png", + "image/png": { "delimiter": ".", - "type": "image/png", - "string": "image/png", "suffixes": [ "png" ] }, - { - "mainType": "image", - "subType": "svg", + "image/svg+xml": { "delimiter": ".", - "type": "image/svg+xml", - "string": "image/svg+xml", "suffixes": [ "svg" ] }, - { - "mainType": "image", - "subType": "tiff", + "image/tiff": { "delimiter": ".", - "type": "image/tiff", - "string": "image/tiff", "suffixes": [ "tif", "tiff" ] }, - { - "mainType": "image", - "subType": "webp", + "image/webp": { "delimiter": ".", - "type": "image/webp", - "string": "image/webp", "suffixes": [ "webp" ] }, - { - "mainType": "text", - "subType": "calendar", + "text/calendar": { "delimiter": ".", - "type": "text/calendar", - "string": "text/calendar", "suffixes": [ "ics" ] }, - { - "mainType": "text", - "subType": "css", + "text/css": { "delimiter": ".", - "type": "text/css", - "string": "text/css", "suffixes": [ "css" ] }, - { - "mainType": "text", - "subType": "csv", + "text/csv": { "delimiter": ".", - "type": "text/csv", - "string": "text/csv", "suffixes": [ "csv" ] }, - { - "mainType": "text", - "subType": "html", + "text/html": { "delimiter": ".", - "type": "text/html", - "string": "text/html", "suffixes": [ "html" ] }, - { - "mainType": "text", - "subType": "javascript", + "text/javascript": { "delimiter": ".", - "type": "text/javascript", - "string": "text/javascript", "suffixes": [ "js", "jsm", "mjs" ] }, - { - "mainType": "text", - "subType": "jsx", + "text/jsx": { "delimiter": ".", - "type": "text/jsx", - "string": "text/jsx", "suffixes": [ "jsx" ] }, - { - "mainType": "text", - "subType": "markdown", + "text/markdown": { "delimiter": ".", - "type": "text/markdown", - "string": "text/markdown", "suffixes": [ "md", "markdown" ] }, - { - "mainType": "text", - "subType": "plain", + "text/plain": { "delimiter": ".", - "type": "text/plain", - "string": "text/plain", "suffixes": [ "txt" ] }, - { - "mainType": "text", - "subType": "tsx", + "text/tsx": { "delimiter": ".", - "type": "text/tsx", - "string": "text/tsx", "suffixes": [ "tsx" ] }, - { - "mainType": "text", - "subType": "typescript", + "text/typescript": { "delimiter": ".", - "type": "text/typescript", - "string": "text/typescript", "suffixes": [ "ts" ] }, - { - "mainType": "text", - "subType": "x-sass", + "text/x-sass": { "delimiter": ".", - "type": "text/x-sass", - "string": "text/x-sass", "suffixes": [ "sass" ] }, - { - "mainType": "text", - "subType": "x-scss", + "text/x-scss": { "delimiter": ".", - "type": "text/x-scss", - "string": "text/x-scss", "suffixes": [ "scss" ] }, - { - "mainType": "video", - "subType": "3gpp", + "video/3gpp": { "delimiter": ".", - "type": "video/3gpp", - "string": "video/3gpp", "suffixes": [ "3gpp", "3gp" ] }, - { - "mainType": "video", - "subType": "mp4", + "video/mp4": { "delimiter": ".", - "type": "video/mp4", - "string": "video/mp4", "suffixes": [ "mp4" ] }, - { - "mainType": "video", - "subType": "mpeg", + "video/mpeg": { "delimiter": ".", - "type": "video/mpeg", - "string": "video/mpeg", "suffixes": [ "mpg", "mpeg" ] }, - { - "mainType": "video", - "subType": "ogg", + "video/ogg": { "delimiter": ".", - "type": "video/ogg", - "string": "video/ogg", "suffixes": [ "ogv" ] }, - { - "mainType": "video", - "subType": "webm", + "video/webm": { "delimiter": ".", - "type": "video/webm", - "string": "video/webm", "suffixes": [ "webm" ] }, - { - "mainType": "video", - "subType": "x-msvideo", + "video/x-msvideo": { "delimiter": ".", - "type": "video/x-msvideo", - "string": "video/x-msvideo", "suffixes": [ "avi" ] } - ] - }, - "output": { - "formats": [ - { - "mediaType": "text/html", - "name": "html", - "path": "", - "baseName": "index", - "rel": "canonical", - "protocol": "", - "isPlainText": false, - "isHTML": true, - "noUgly": false, - "notAlternative": false, - "permalinkable": true, - "weight": 10 - }, - { + }, + "imaging": { + "bgColor": "#ffffff", + "hint": "photo", + "quality": 75, + "resampleFilter": "box" + }, + "outputFormats": { + "amp": { "mediaType": "text/html", "name": "amp", "path": "amp", @@ -2221,7 +2060,7 @@ "permalinkable": true, "weight": 0 }, - { + "calendar": { "mediaType": "text/calendar", "name": "calendar", "path": "", @@ -2235,7 +2074,7 @@ "permalinkable": false, "weight": 0 }, - { + "css": { "mediaType": "text/css", "name": "css", "path": "", @@ -2249,7 +2088,7 @@ "permalinkable": false, "weight": 0 }, - { + "csv": { "mediaType": "text/csv", "name": "csv", "path": "", @@ -2263,7 +2102,21 @@ "permalinkable": false, "weight": 0 }, - { + "html": { + "mediaType": "text/html", + "name": "html", + "path": "", + "baseName": "index", + "rel": "canonical", + "protocol": "", + "isPlainText": false, + "isHTML": true, + "noUgly": false, + "notAlternative": false, + "permalinkable": true, + "weight": 10 + }, + "json": { "mediaType": "application/json", "name": "json", "path": "", @@ -2277,7 +2130,7 @@ "permalinkable": false, "weight": 0 }, - { + "markdown": { "mediaType": "text/markdown", "name": "markdown", "path": "", @@ -2291,7 +2144,7 @@ "permalinkable": false, "weight": 0 }, - { + "robots": { "mediaType": "text/plain", "name": "robots", "path": "", @@ -2305,7 +2158,7 @@ "permalinkable": false, "weight": 0 }, - { + "rss": { "mediaType": "application/rss+xml", "name": "rss", "path": "", @@ -2319,7 +2172,7 @@ "permalinkable": false, "weight": 0 }, - { + "sitemap": { "mediaType": "application/xml", "name": "sitemap", "path": "", @@ -2333,7 +2186,7 @@ "permalinkable": false, "weight": 0 }, - { + "webappmanifest": { "mediaType": "application/manifest+json", "name": "webappmanifest", "path": "", @@ -2347,7 +2200,412 @@ "permalinkable": false, "weight": 0 } - ], + }, + "outputs": { + "home": [ + "html", + "rss" + ], + "page": [ + "html" + ], + "rss": [ + "rss" + ], + "section": [ + "html", + "rss" + ], + "taxonomy": [ + "html", + "rss" + ], + "term": [ + "html", + "rss" + ] + }, + "cascade": [], + "menus": {}, + "deployment": { + "targets": null, + "matchers": null, + "order": null, + "target": "", + "confirm": false, + "dryRun": false, + "force": false, + "invalidateCDN": true, + "maxDeletes": 256, + "workers": 10 + }, + "module": { + "mounts": [ + { + "source": "content", + "target": "content", + "lang": "", + "includeFiles": null, + "excludeFiles": null + }, + { + "source": "data", + "target": "data", + "lang": "", + "includeFiles": null, + "excludeFiles": null + }, + { + "source": "layouts", + "target": "layouts", + "lang": "", + "includeFiles": null, + "excludeFiles": null + }, + { + "source": "i18n", + "target": "i18n", + "lang": "", + "includeFiles": null, + "excludeFiles": null + }, + { + "source": "archetypes", + "target": "archetypes", + "lang": "", + "includeFiles": null, + "excludeFiles": null + }, + { + "source": "assets", + "target": "assets", + "lang": "", + "includeFiles": null, + "excludeFiles": null + }, + { + "source": "static", + "target": "static", + "lang": "", + "includeFiles": null, + "excludeFiles": null + } + ], + "imports": null, + "params": null, + "hugoVersion": { + "min": "", + "max": "", + "extended": false + }, + "noVendor": "", + "vendorClosest": false, + "replacements": null, + "proxy": "direct", + "noProxy": "none", + "private": "*.*", + "workspace": "off" + }, + "frontmatter": { + "date": [ + "date", + "publishdate", + "pubdate", + "published", + "lastmod", + "modified" + ], + "lastmod": [ + ":git", + "lastmod", + "modified", + "date", + "publishdate", + "pubdate", + "published" + ], + "publishDate": [ + "publishdate", + "pubdate", + "published", + "date" + ], + "expiryDate": [ + "expirydate", + "unpublishdate" + ] + }, + "minify": { + "minifyOutput": false, + "disableHTML": false, + "disableCSS": false, + "disableJS": false, + "disableJSON": false, + "disableSVG": false, + "disableXML": false, + "tdewolff": { + "html": { + "keepComments": false, + "keepConditionalComments": true, + "keepDefaultAttrVals": true, + "keepDocumentTags": true, + "keepEndTags": true, + "keepQuotes": false, + "keepWhitespace": false + }, + "css": { + "keepCSS2": true, + "precision": 0 + }, + "js": { + "precision": 0, + "keepVarNames": false, + "version": 2022 + }, + "json": { + "precision": 0, + "keepNumbers": false + }, + "svg": { + "keepComments": false, + "precision": 0 + }, + "xml": { + "keepWhitespace": false + } + } + }, + "permalinks": { + "page": {}, + "section": {}, + "taxonomy": {}, + "term": {} + }, + "taxonomies": { + "category": "categories", + "tag": "tags" + }, + "sitemap": { + "changeFreq": "", + "priority": -1, + "filename": "sitemap.xml" + }, + "related": { + "threshold": 80, + "includeNewer": false, + "toLower": false, + "indices": [ + { + "name": "keywords", + "type": "basic", + "applyFilter": false, + "pattern": "", + "weight": 100, + "cardinalityThreshold": 0, + "toLower": false + }, + { + "name": "date", + "type": "basic", + "applyFilter": false, + "pattern": "", + "weight": 10, + "cardinalityThreshold": 0, + "toLower": false + }, + { + "name": "tags", + "type": "", + "applyFilter": false, + "pattern": "", + "weight": 80, + "cardinalityThreshold": 0, + "toLower": false + } + ] + }, + "server": { + "headers": null, + "redirects": [ + { + "from": "**", + "to": "/404.html", + "status": 404, + "force": false + } + ] + }, + "privacy": { + "disqus": { + "disable": false + }, + "googleAnalytics": { + "disable": false, + "useSessionStorage": false, + "respectDoNotTrack": false, + "anonymizeIP": false + }, + "instagram": { + "disable": false, + "simple": false + }, + "twitter": { + "disable": false, + "enableDNT": false, + "simple": false + }, + "vimeo": { + "disable": false, + "enableDNT": false, + "simple": false + }, + "youTube": { + "disable": false, + "privacyEnhanced": false + } + }, + "security": { + "exec": { + "allow": [ + "^((dart-)?sass(-embedded)?|go|npx|postcss)$" + ], + "osEnv": [ + "(?i)^(PATH|PATHEXT|APPDATA|HOME|TMP|TEMP|TERM)$" + ] + }, + "funcs": { + "getenv": [ + "^(HUGO_|REPOSITORY_URL|^BRANCH$)" + ] + }, + "http": { + "urls": [ + ".*" + ], + "methods": [ + "(?i)GET|POST" + ], + "mediaTypes": null + }, + "enableInlineShortcodes": false, + "goTemplates": { + "allowActionJSTmpl": false + } + }, + "services": { + "disqus": { + "shortname": "" + }, + "googleAnalytics": { + "id": "" + }, + "instagram": { + "disableInlineCSS": false, + "accessToken": "" + }, + "twitter": { + "disableInlineCSS": false + }, + "rss": { + "limit": -1 + } + }, + "params": {}, + "languages": { + "en": { + "languageName": "", + "languageCode": "", + "title": "", + "languageDirection": "", + "weight": 0, + "disabled": false + } + }, + "uglyURLs": false + }, + "config_helpers": { + "mergeStrategy": { + "build": { + "_merge": "none" + }, + "caches": { + "_merge": "none" + }, + "cascade": { + "_merge": "none" + }, + "deployment": { + "_merge": "none" + }, + "frontmatter": { + "_merge": "none" + }, + "imaging": { + "_merge": "none" + }, + "languages": { + "_merge": "none", + "en": { + "_merge": "none", + "menus": { + "_merge": "shallow" + }, + "params": { + "_merge": "deep" + } + } + }, + "markup": { + "_merge": "none" + }, + "mediatypes": { + "_merge": "shallow" + }, + "menus": { + "_merge": "shallow" + }, + "minify": { + "_merge": "none" + }, + "module": { + "_merge": "none" + }, + "outputformats": { + "_merge": "shallow" + }, + "outputs": { + "_merge": "none" + }, + "params": { + "_merge": "deep" + }, + "permalinks": { + "_merge": "none" + }, + "privacy": { + "_merge": "none" + }, + "related": { + "_merge": "none" + }, + "security": { + "_merge": "none" + }, + "server": { + "_merge": "none" + }, + "services": { + "_merge": "none" + }, + "sitemap": { + "_merge": "none" + }, + "taxonomies": { + "_merge": "none" + } + } + }, + "output": { "layouts": [ { "Example": "Single page in \"posts\" section", @@ -3138,7 +3396,7 @@ "Examples": [] }, "Apply": { - "Description": "Apply takes a map, array, or slice c and returns a new slice with the function fname applied over it.", + "Description": "Apply takes an array or slice c and returns a new slice with the function fname applied over it.", "Args": [ "ctx", "c", @@ -3168,6 +3426,7 @@ "Delimit": { "Description": "Delimit takes a given list l and returns a string delimited by sep.\nIf last is passed to the function, it will be used as the final delimiter.", "Args": [ + "ctx", "l", "sep", "last" @@ -3415,6 +3674,7 @@ "Sort": { "Description": "Sort returns a sorted copy of the list l.", "Args": [ + "ctx", "l", "args" ], @@ -3473,6 +3733,7 @@ "Where": { "Description": "Where returns a filtered subset of collection c.", "Args": [ + "ctx", "c", "key", "args" |