Skip to content

Release type conditionals are not working in documentation #41993

@scottfrederick

Description

@scottfrederick

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.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions