mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-13 13:05:52 -04:00
Document ignoreLogs configuration setting
This commit is contained in:
parent
6b47a1d578
commit
9e49ae3e1d
@ -331,6 +331,12 @@ See [Front matter Configuration](#configure-front-matter).
|
|||||||
|
|
||||||
(`bool`) Ignore the cache directory. Default is `false`.
|
(`bool`) Ignore the cache directory. Default is `false`.
|
||||||
|
|
||||||
|
###### ignoreLogs
|
||||||
|
(`string slice`) A slice of message identifiers corresponding to warnings and errors you wish to suppress. See [`erroridf`] and [`warnidf`].
|
||||||
|
|
||||||
|
[`erroridf`]: /functions/fmt/erroridf/
|
||||||
|
[`warnidf`]: /functions/fmt/warnidf/
|
||||||
|
|
||||||
###### ignoreVendorPaths
|
###### ignoreVendorPaths
|
||||||
|
|
||||||
(`string`) Ignore vendored modules that match the given [Glob] pattern within the `_vendor` directory.
|
(`string`) Ignore vendored modules that match the given [Glob] pattern within the `_vendor` directory.
|
||||||
@ -494,8 +500,7 @@ See [Configure Taxonomies](/content-management/taxonomies#configure-taxonomies).
|
|||||||
|
|
||||||
###### templateMetrics
|
###### templateMetrics
|
||||||
|
|
||||||
(`bool`) Whether to print template execution metrics to the console. Default is `false`.
|
(`bool`) Whether to print template execution metrics to the console. Default is `false`. See [Template metrics](/troubleshooting/performance/#template-metrics).
|
||||||
See [Template metrics](/troubleshooting/performance/#template-metrics)
|
|
||||||
|
|
||||||
###### templateMetricsHints
|
###### templateMetricsHints
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user