Skip to content

[Bug] Order of same-product, multiple lifecycle applies_to statement is not correct #2021

@theletterf

Description

@theletterf

I discovered this while adding the example in #2020.

See, for example, the Important note here: https://docs-v3-preview.elastic.dev/elastic/docs-builder/tree/main/syntax/admonitions#applies-to-information

Image

The syntax is:

:applies_to: {"stack": "ga 9.2, preview 9.1", "serverless": "ga"}

So I guess it should show ga: 9.2 in the rendered pill, not the preview version. How is order determined?

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions