docs: add ifeval for 7.10 release #1004
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR fixes a documentation link that will break when
7.10
becomes thecurrent
stack version. It conditionally changes the link location of the Logs app docs based on the stack version defined in github.com/elastic/docs (here).Admittedly, this isn't pretty, but it's the cleanest way to ensure this link continues to work for users who click it before and after the
7.10
release.Tested by building locally with
:branch:
overridden to7.9
,7.10
, andmaster
.Target
This PR will need to be backported to
1.x
.Related issue
Follow-ups
After the release of
7.10
, I will backport a fix that removes the conditional code.