Duolith docs

Warnings while reading a page

W0040 Unused state

Message the kind name is never used

Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.

Why

Nothing in the script or the markup reads or assigns this state or derived value. It is often left over from a change, or a sign that the markup reads the wrong name.

How to fix it

Use it where it is meant to be shown or changed, or remove its declaration (duolith lint --fix removes it).

In a terminal

duolith explain W0040

Mentioned in