Skip to content

Tabpane shows multiple tabs at the same time #1271

@chalin

Description

@chalin

If I insert the following tabpane in, for example, the User Guide

{{< tabpane lang="console" >}}
{{< tab AMD64 >}}
$ apk update
$ apk add wget shadow
$ wget https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/vX.Y/otelcol_X.Y_linux_amd64.apk
$ apk add --allow-untrusted otelcol_X.Y_linux_amd64.apk
{{< /tab >}}

{{< tab ARM64 >}}
$ apk update
$ apk add wget shadow
$ wget https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/vX.Y/otelcol_X.Y_linux_arm64.apk
$ apk add --allow-untrusted otelcol_X.Y_linux_arm64.apk
{{< /tab >}}

{{< tab i386 >}}
$ apk update
$ apk add wget shadow
$ wget https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/vX.Y/otelcol_X.Y_linux_386.apk
$ apk add --allow-untrusted otelcol_X.Y_linux_386.apk
{{< /tab >}}
{{< /tabpane >}}

then it renders like this, when using Docsy @HEAD (currently 7489c35):

image

Things I've tried:

  • If I remove the lang attribute, it gets better (no multiple tabs shown), but then the formatting still isn't right.
  • If I move the lang attribute into the tab elements (while naming the header parameter too), the original problem presents itself (multiple tab contents shown at the same time).

Could you take a look @deining? Thanks!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions