Skip to content

Conversation

deining
Copy link
Contributor

@deining deining commented Apr 25, 2025

This PR helps to avoid a deprecation warning about deprecated kind taxonomyterm in disableKinds.

Reproduction::

Add this line to your hugo.yaml:

disableKinds = ["taxonomy", "taxonomyTerm"]

Now when previewing the site, a warning appears:

WARN  DEPRECATED: Kind "taxonomyterm" used in disableKinds is deprecated, use "taxonomy" instead.

This PR corrects the user guide so that this warning will not be printed out.

@deining deining changed the title Fix warning about deprecated kind 'taxonomyterm' in disableKinds User guide: remove deprecated kind 'taxonomyterm' from disableKinds Apr 25, 2025
@deining deining requested a review from chalin April 25, 2025 21:11
Copy link
Contributor

@chalin chalin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks. I'll make a followup pass for copyedits.

@chalin chalin merged commit d6e9f38 into google:main Apr 26, 2025
11 checks passed
@deining deining deleted the warning-taxonomyTerm branch May 9, 2025 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants