Skip to content

Applies-switch tab title rendering issue with multiple keys #1976

Closed

Description

@florent-leborgne

Describe the bug

I think I found a little bug with applies-switch:
I have this: ::::{applies-item} { serverless: ga, stack: ga 9.2 } as per the guidelines in https://elastic.github.io/docs-builder/syntax/applies-switch/#multiple-applies_to-definitions

That renders like this:

Image

Wondering if that has to do with line length/wrapping or if having full syntax (lifecycle + version) for more than 1 item could lead to this.

Expected behavior

In this case, I would expect 2 things different than now:

  • serverless should appear first
  • the separator correctly placed between the 2 keys

This will be a frequent case (where serverless is often aligned with a stack version, so both would appear in the same tab)

Steps to reproduce

No response

Tooling

  • docs-builder
  • migration tooling
  • I'm not sure

Activity

  1. added theissue type on Oct 1, 2025
  2. reakaleek commented on Oct 1, 2025

    @reakaleek
    Member

    Will be fixed by #1977

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions