hugo/config
Bjørn Erik Pedersen 71fd79a3f4 Revise the deprecation logging
This introduces a more automatic way of increasing the log levels for deprecation log statements based on the version it was deprecated.

The thresholds are a little arbitrary, but

* We log INFO for 6 releases
* We log WARN for another 6 releases
* THen ERROR (failing the build)

This should give theme authors plenty of time to catch up without having the log filled with warnings.
2023-10-26 20:41:19 +02:00
..
allconfig Revise the deprecation logging 2023-10-26 20:41:19 +02:00
privacy Misc config loading fixes 2021-06-14 17:00:32 +02:00
security Add all config to docshelper.json 2023-08-07 13:42:54 +02:00
services Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
testconfig Add empty Environ when loading test config 2023-06-19 17:49:45 +02:00
commonConfig.go Fix cache busting setup 2023-07-19 19:50:37 +02:00
commonConfig_test.go Fix cache busting setup 2023-07-19 19:50:37 +02:00
configLoader.go commands,config: Fix typo in log and error messages 2023-06-12 16:45:20 +02:00
configLoader_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
configProvider.go markdown: Pass emoji codes to yuin/goldmark-emoji 2023-10-24 12:04:13 +02:00
configProvider_test.go Misc config loading fixes 2021-06-14 17:00:32 +02:00
defaultConfigProvider.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
defaultConfigProvider_test.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
env.go all: Use strings.Cut 2022-03-21 09:32:35 +01:00
env_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
namespace.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
namespace_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00