The documentation Asciidoc source contains conditional statements for the release type, like:
ifeval::["{artifact-release-type}" == "release"]
...
endif::[]
and
ifeval::["{artifact-release-type}" != "snapshot"]
...
endif::[]
The artifact-release-type attribute does not appear to be set when docs are built, so the == conditions are never true and the != conditions are always true.