Skip to content

Release type conditionals are not working in documentation #41993

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
scottfrederick opened this issue Aug 21, 2024 · 1 comment
Closed

Release type conditionals are not working in documentation #41993

scottfrederick opened this issue Aug 21, 2024 · 1 comment
Assignees
Labels
type: documentation A documentation update
Milestone

Comments

@scottfrederick
Copy link
Contributor

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.

@izeye
Copy link
Contributor

izeye commented Oct 24, 2024

Given the changes are not in 3.2.9, this seems to have been assigned to a wrong milestone. It seems to belong to 3.3.3 milestone.

@wilkinsona wilkinsona modified the milestones: 3.2.9, 3.3.3 Oct 24, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
type: documentation A documentation update
Projects
None yet
Development

No branches or pull requests

3 participants