hugo/commands
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
..
commandeer.go Revise the deprecation logging 2023-10-26 20:41:19 +02:00
commands.go
config.go commands: Handle floats without decimals in hugo config 2023-08-08 09:13:17 +02:00
convert.go
deploy.go
deploy_off.go
env.go
gen.go commands/gen: Remove default highlight style 2023-09-14 12:08:52 +02:00
helpers.go commands/new: Embed site and theme skeletons 2023-08-21 10:38:22 +02:00
hugo_windows.go commands: Update message displayed when running CLI from GUI 2023-10-06 19:39:35 +02:00
hugobuilder.go
import.go
list.go
mod.go commands: Update CLI docs with the important -u flag in hugo mod get 2023-09-20 18:01:52 +02:00
new.go Make sure resources directory isn't created in hugo new theme 2023-08-23 22:50:35 +02:00
release.go
server.go all: Format files with gofmt 2023-10-05 14:45:55 +02:00