mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
docs: Regen docs helper
This commit is contained in:
parent
309d61b220
commit
7caa5b3e50
1 changed files with 56 additions and 33 deletions
|
@ -917,14 +917,9 @@ config:
|
||||||
disableTags: false
|
disableTags: false
|
||||||
enable: false
|
enable: false
|
||||||
cacheBusters:
|
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
|
- source: (postcss|tailwind)\.config\.js
|
||||||
target: (css|styles|scss|sass)
|
target: (css|styles|scss|sass)
|
||||||
- source: assets/.*\.(.*)$
|
duplicateResourceFiles: false
|
||||||
target: $1
|
|
||||||
noJSConfigInAssets: false
|
noJSConfigInAssets: false
|
||||||
useResourceCacheWhen: fallback
|
useResourceCacheWhen: fallback
|
||||||
buildDrafts: false
|
buildDrafts: false
|
||||||
|
@ -1007,8 +1002,8 @@ config:
|
||||||
hasCJKLanguage: false
|
hasCJKLanguage: false
|
||||||
i18nDir: i18n
|
i18nDir: i18n
|
||||||
ignoreCache: false
|
ignoreCache: false
|
||||||
ignoreErrors: null
|
|
||||||
ignoreFiles: []
|
ignoreFiles: []
|
||||||
|
ignoreLogs: null
|
||||||
ignoreVendorPaths: ""
|
ignoreVendorPaths: ""
|
||||||
imaging:
|
imaging:
|
||||||
bgColor: '#ffffff'
|
bgColor: '#ffffff'
|
||||||
|
@ -1041,6 +1036,7 @@ config:
|
||||||
workingFolderCurrent: false
|
workingFolderCurrent: false
|
||||||
defaultMarkdownHandler: goldmark
|
defaultMarkdownHandler: goldmark
|
||||||
goldmark:
|
goldmark:
|
||||||
|
duplicateResourceFiles: false
|
||||||
extensions:
|
extensions:
|
||||||
cjk:
|
cjk:
|
||||||
eastAsianLineBreaks: false
|
eastAsianLineBreaks: false
|
||||||
|
@ -1078,6 +1074,11 @@ config:
|
||||||
autoHeadingID: true
|
autoHeadingID: true
|
||||||
autoHeadingIDType: github
|
autoHeadingIDType: github
|
||||||
wrapStandAloneImageWithinParagraph: true
|
wrapStandAloneImageWithinParagraph: true
|
||||||
|
renderHooks:
|
||||||
|
image:
|
||||||
|
enableDefault: null
|
||||||
|
link:
|
||||||
|
enableDefault: null
|
||||||
renderer:
|
renderer:
|
||||||
hardWraps: false
|
hardWraps: false
|
||||||
unsafe: false
|
unsafe: false
|
||||||
|
@ -1352,143 +1353,154 @@ config:
|
||||||
isHTML: true
|
isHTML: true
|
||||||
isPlainText: false
|
isPlainText: false
|
||||||
mediaType: text/html
|
mediaType: text/html
|
||||||
name: amp
|
|
||||||
noUgly: false
|
noUgly: false
|
||||||
notAlternative: false
|
notAlternative: false
|
||||||
path: amp
|
path: amp
|
||||||
permalinkable: true
|
permalinkable: true
|
||||||
protocol: ""
|
protocol: ""
|
||||||
rel: amphtml
|
rel: amphtml
|
||||||
|
root: false
|
||||||
|
ugly: false
|
||||||
weight: 0
|
weight: 0
|
||||||
calendar:
|
calendar:
|
||||||
baseName: index
|
baseName: index
|
||||||
isHTML: false
|
isHTML: false
|
||||||
isPlainText: true
|
isPlainText: true
|
||||||
mediaType: text/calendar
|
mediaType: text/calendar
|
||||||
name: calendar
|
|
||||||
noUgly: false
|
noUgly: false
|
||||||
notAlternative: false
|
notAlternative: false
|
||||||
path: ""
|
path: ""
|
||||||
permalinkable: false
|
permalinkable: false
|
||||||
protocol: webcal://
|
protocol: webcal://
|
||||||
rel: alternate
|
rel: alternate
|
||||||
|
root: false
|
||||||
|
ugly: false
|
||||||
weight: 0
|
weight: 0
|
||||||
css:
|
css:
|
||||||
baseName: styles
|
baseName: styles
|
||||||
isHTML: false
|
isHTML: false
|
||||||
isPlainText: true
|
isPlainText: true
|
||||||
mediaType: text/css
|
mediaType: text/css
|
||||||
name: css
|
|
||||||
noUgly: false
|
noUgly: false
|
||||||
notAlternative: true
|
notAlternative: true
|
||||||
path: ""
|
path: ""
|
||||||
permalinkable: false
|
permalinkable: false
|
||||||
protocol: ""
|
protocol: ""
|
||||||
rel: stylesheet
|
rel: stylesheet
|
||||||
|
root: false
|
||||||
|
ugly: false
|
||||||
weight: 0
|
weight: 0
|
||||||
csv:
|
csv:
|
||||||
baseName: index
|
baseName: index
|
||||||
isHTML: false
|
isHTML: false
|
||||||
isPlainText: true
|
isPlainText: true
|
||||||
mediaType: text/csv
|
mediaType: text/csv
|
||||||
name: csv
|
|
||||||
noUgly: false
|
noUgly: false
|
||||||
notAlternative: false
|
notAlternative: false
|
||||||
path: ""
|
path: ""
|
||||||
permalinkable: false
|
permalinkable: false
|
||||||
protocol: ""
|
protocol: ""
|
||||||
rel: alternate
|
rel: alternate
|
||||||
|
root: false
|
||||||
|
ugly: false
|
||||||
weight: 0
|
weight: 0
|
||||||
html:
|
html:
|
||||||
baseName: index
|
baseName: index
|
||||||
isHTML: true
|
isHTML: true
|
||||||
isPlainText: false
|
isPlainText: false
|
||||||
mediaType: text/html
|
mediaType: text/html
|
||||||
name: html
|
|
||||||
noUgly: false
|
noUgly: false
|
||||||
notAlternative: false
|
notAlternative: false
|
||||||
path: ""
|
path: ""
|
||||||
permalinkable: true
|
permalinkable: true
|
||||||
protocol: ""
|
protocol: ""
|
||||||
rel: canonical
|
rel: canonical
|
||||||
|
root: false
|
||||||
|
ugly: false
|
||||||
weight: 10
|
weight: 10
|
||||||
json:
|
json:
|
||||||
baseName: index
|
baseName: index
|
||||||
isHTML: false
|
isHTML: false
|
||||||
isPlainText: true
|
isPlainText: true
|
||||||
mediaType: application/json
|
mediaType: application/json
|
||||||
name: json
|
|
||||||
noUgly: false
|
noUgly: false
|
||||||
notAlternative: false
|
notAlternative: false
|
||||||
path: ""
|
path: ""
|
||||||
permalinkable: false
|
permalinkable: false
|
||||||
protocol: ""
|
protocol: ""
|
||||||
rel: alternate
|
rel: alternate
|
||||||
|
root: false
|
||||||
|
ugly: false
|
||||||
weight: 0
|
weight: 0
|
||||||
markdown:
|
markdown:
|
||||||
baseName: index
|
baseName: index
|
||||||
isHTML: false
|
isHTML: false
|
||||||
isPlainText: true
|
isPlainText: true
|
||||||
mediaType: text/markdown
|
mediaType: text/markdown
|
||||||
name: markdown
|
|
||||||
noUgly: false
|
noUgly: false
|
||||||
notAlternative: false
|
notAlternative: false
|
||||||
path: ""
|
path: ""
|
||||||
permalinkable: false
|
permalinkable: false
|
||||||
protocol: ""
|
protocol: ""
|
||||||
rel: alternate
|
rel: alternate
|
||||||
|
root: false
|
||||||
|
ugly: false
|
||||||
weight: 0
|
weight: 0
|
||||||
robots:
|
robots:
|
||||||
baseName: robots
|
baseName: robots
|
||||||
isHTML: false
|
isHTML: false
|
||||||
isPlainText: true
|
isPlainText: true
|
||||||
mediaType: text/plain
|
mediaType: text/plain
|
||||||
name: robots
|
|
||||||
noUgly: false
|
noUgly: false
|
||||||
notAlternative: false
|
notAlternative: false
|
||||||
path: ""
|
path: ""
|
||||||
permalinkable: false
|
permalinkable: false
|
||||||
protocol: ""
|
protocol: ""
|
||||||
rel: alternate
|
rel: alternate
|
||||||
|
root: true
|
||||||
|
ugly: false
|
||||||
weight: 0
|
weight: 0
|
||||||
rss:
|
rss:
|
||||||
baseName: index
|
baseName: index
|
||||||
isHTML: false
|
isHTML: false
|
||||||
isPlainText: false
|
isPlainText: false
|
||||||
mediaType: application/rss+xml
|
mediaType: application/rss+xml
|
||||||
name: rss
|
|
||||||
noUgly: true
|
noUgly: true
|
||||||
notAlternative: false
|
notAlternative: false
|
||||||
path: ""
|
path: ""
|
||||||
permalinkable: false
|
permalinkable: false
|
||||||
protocol: ""
|
protocol: ""
|
||||||
rel: alternate
|
rel: alternate
|
||||||
|
root: false
|
||||||
|
ugly: false
|
||||||
weight: 0
|
weight: 0
|
||||||
sitemap:
|
sitemap:
|
||||||
baseName: sitemap
|
baseName: sitemap
|
||||||
isHTML: false
|
isHTML: false
|
||||||
isPlainText: false
|
isPlainText: false
|
||||||
mediaType: application/xml
|
mediaType: application/xml
|
||||||
name: sitemap
|
noUgly: false
|
||||||
noUgly: true
|
|
||||||
notAlternative: false
|
notAlternative: false
|
||||||
path: ""
|
path: ""
|
||||||
permalinkable: false
|
permalinkable: false
|
||||||
protocol: ""
|
protocol: ""
|
||||||
rel: sitemap
|
rel: sitemap
|
||||||
|
root: false
|
||||||
|
ugly: true
|
||||||
weight: 0
|
weight: 0
|
||||||
webappmanifest:
|
webappmanifest:
|
||||||
baseName: manifest
|
baseName: manifest
|
||||||
isHTML: false
|
isHTML: false
|
||||||
isPlainText: true
|
isPlainText: true
|
||||||
mediaType: application/manifest+json
|
mediaType: application/manifest+json
|
||||||
name: webappmanifest
|
|
||||||
noUgly: false
|
noUgly: false
|
||||||
notAlternative: true
|
notAlternative: true
|
||||||
path: ""
|
path: ""
|
||||||
permalinkable: false
|
permalinkable: false
|
||||||
protocol: ""
|
protocol: ""
|
||||||
rel: manifest
|
rel: manifest
|
||||||
|
root: false
|
||||||
|
ugly: false
|
||||||
weight: 0
|
weight: 0
|
||||||
outputs:
|
outputs:
|
||||||
home:
|
home:
|
||||||
|
@ -2913,6 +2925,20 @@ tpl:
|
||||||
Examples:
|
Examples:
|
||||||
- - '{{ warnf "%s." "warning" }}'
|
- - '{{ warnf "%s." "warning" }}'
|
||||||
- ""
|
- ""
|
||||||
|
Warnidf:
|
||||||
|
Aliases:
|
||||||
|
- warnidf
|
||||||
|
Args:
|
||||||
|
- id
|
||||||
|
- format
|
||||||
|
- args
|
||||||
|
Description: |-
|
||||||
|
Warnidf formats args according to a format specifier and logs an WARNING and
|
||||||
|
an information text that the warning with the given id can be suppressed in config.
|
||||||
|
It returns an empty string.
|
||||||
|
Examples:
|
||||||
|
- - '{{ warnidf "my-warn-id" "%s." "warning" }}'
|
||||||
|
- ""
|
||||||
Warnmf:
|
Warnmf:
|
||||||
Aliases: null
|
Aliases: null
|
||||||
Args: null
|
Args: null
|
||||||
|
@ -3688,14 +3714,6 @@ tpl:
|
||||||
- s
|
- s
|
||||||
Description: JSStr returns the given string as a html/template JSStr content.
|
Description: JSStr returns the given string as a html/template JSStr content.
|
||||||
Examples: []
|
Examples: []
|
||||||
SanitizeURL:
|
|
||||||
Aliases:
|
|
||||||
- sanitizeURL
|
|
||||||
- sanitizeurl
|
|
||||||
Args:
|
|
||||||
- s
|
|
||||||
Description: SanitizeURL returns the string s as html/template URL content.
|
|
||||||
Examples: []
|
|
||||||
URL:
|
URL:
|
||||||
Aliases:
|
Aliases:
|
||||||
- safeURL
|
- safeURL
|
||||||
|
@ -3756,7 +3774,7 @@ tpl:
|
||||||
Args: null
|
Args: null
|
||||||
Description: ""
|
Description: ""
|
||||||
Examples: null
|
Examples: null
|
||||||
GetIdentity:
|
ForEeachIdentityByName:
|
||||||
Aliases: null
|
Aliases: null
|
||||||
Args: null
|
Args: null
|
||||||
Description: ""
|
Description: ""
|
||||||
|
@ -3766,11 +3784,6 @@ tpl:
|
||||||
Args: null
|
Args: null
|
||||||
Description: ""
|
Description: ""
|
||||||
Examples: null
|
Examples: null
|
||||||
GetPageWithTemplateInfo:
|
|
||||||
Aliases: null
|
|
||||||
Args: null
|
|
||||||
Description: ""
|
|
||||||
Examples: null
|
|
||||||
GoogleAnalytics:
|
GoogleAnalytics:
|
||||||
Aliases: null
|
Aliases: null
|
||||||
Args: null
|
Args: null
|
||||||
|
@ -3796,6 +3809,11 @@ tpl:
|
||||||
Args: null
|
Args: null
|
||||||
Description: ""
|
Description: ""
|
||||||
Examples: null
|
Examples: null
|
||||||
|
Key:
|
||||||
|
Aliases: null
|
||||||
|
Args: null
|
||||||
|
Description: ""
|
||||||
|
Examples: null
|
||||||
Language:
|
Language:
|
||||||
Aliases: null
|
Aliases: null
|
||||||
Args: null
|
Args: null
|
||||||
|
@ -3821,6 +3839,11 @@ tpl:
|
||||||
Args: null
|
Args: null
|
||||||
Description: ""
|
Description: ""
|
||||||
Examples: null
|
Examples: null
|
||||||
|
Lastmod:
|
||||||
|
Aliases: null
|
||||||
|
Args: null
|
||||||
|
Description: ""
|
||||||
|
Examples: null
|
||||||
MainSections:
|
MainSections:
|
||||||
Aliases: null
|
Aliases: null
|
||||||
Args: null
|
Args: null
|
||||||
|
|
Loading…
Reference in a new issue