hugo/common
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
..
collections common/collections: Fix append regression to allow appending nil 2023-06-28 09:41:36 +02:00
constants common: Remove unused constants 2023-09-24 11:59:49 +02:00
herrors Improve error messages for PostCSS etc. 2023-07-17 20:42:32 +02:00
hexec all: Fix typos in function names and comments 2023-06-19 09:26:29 +02:00
hreflect Add a page template func 2023-02-25 19:53:18 +01:00
hstrings Add $image.Process 2023-09-24 11:54:29 +02:00
htime common/htime: Fix localization of abbreviated month names 2023-07-19 19:00:18 +02:00
hugio Replace deprecated ioutil with io and os 2023-03-01 16:28:43 +01:00
hugo Revise the deprecation logging 2023-10-26 20:41:19 +02:00
loggers common/loggers: Fix typo in option name 2023-08-23 22:52:37 +02:00
maps commands: Handle floats without decimals in hugo config 2023-08-08 09:13:17 +02:00
math all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
para Correct typos in Go comments 2023-03-02 16:32:32 +01:00
paths all: Format files with gofmt 2023-10-05 14:45:55 +02:00
terminal Respect NO_COLOR 2022-06-13 18:07:37 +02:00
text Misc doc, code refactoring to improve documentation 2023-01-04 18:01:26 +01:00
types Add a counter helper 2023-05-15 09:23:26 +02:00
urls Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
docs.go Misc doc, code refactoring to improve documentation 2023-01-04 18:01:26 +01:00