You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Same applies switch used twice through a snippet is not rendered properly #2334
When importing an applies_switch through a snippet multiple times in the same page, the content is only rendered in one place.
For example:
snippet file: eck_rcs_external_endpoint_switch.md
% Endpoint identification for multiple deployment types
:::::::{applies-switch}
::::::{applies-item} ess:
Obtain the endpoint from the **Security** page of the ECH deployment you want to use as a remote. Copy the **Proxy address** from the **Remote cluster parameters** section, and replace its port with `9443`, which is the port used by the remote cluster server interface.
::::::
::::::{applies-item} ece:
Obtain the endpoint from the **Security** page of the ECE deployment you want to use as a remote. Copy the **Proxy address** from the **Remote cluster parameters**, and replace its port with `9443`, which is the port used by the remote cluster server interface.
::::::
::::::{applies-item} self:
The endpoint depends on your network architecture and the selected connection mode (`sniff` or `proxy`). It can be one or more {{es}} nodes, or a TCP (layer 4) load balancer or reverse proxy in front of the cluster, as long as the local cluster can reach them over port `9443`.
If you are configuring `sniff` mode, set the seeds parameter instead of the proxy address. Refer to the [connection modes](/deploy-manage/remote-clusters/connection-modes.md) documentation for details and connectivity requirements of each mode.
::::::
:::::::
doc-content file is importing the snippet multiple times (obviously in different parts of the doc):
As you can see, the second one is empty. When loading the page the behavior is the opposite. Only the second occurrence renders the text, and the first one appears empty. Probably related with internal HTML ids or similar.
I'm testing this with 0.92.0 version of docs-builder.
Expected behavior
Both should be rendered equally and with the same content.
Activity
reakaleek commentedon Dec 11, 2025
Will be fixed by #2340