docs: avoid empty tabs using groupId

This commit is contained in:
Sören Weber 2022-05-29 23:35:16 +02:00
parent 0efceeb8c6
commit d42b1b04ed
No known key found for this signature in database
GPG Key ID: 07D17FF580AE7589
2 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ It is all about the boxes.
While the examples are using named parameter you are free to use positional aswell. While the examples are using named parameter you are free to use positional aswell.
{{< tabs >}} {{< tabs groupId="shortcode-parameter">}}
{{% tab name="named" %}} {{% tab name="named" %}}
````go ````go

View File

@ -30,7 +30,7 @@ echo "Hello World!"
Renders as: Renders as:
{{< tabs >}} {{< tabs groupId="tabs-example-language" >}}
{{% tab name="python" %}} {{% tab name="python" %}}
```python ```python
print("Hello World!") print("Hello World!")
@ -50,7 +50,7 @@ echo "Hello World!"
Tab views with the same tabs that belong to the same group sychronize their selection: Tab views with the same tabs that belong to the same group sychronize their selection:
{{< tabs >}} {{< tabs groupId="tabs-example-language" >}}
{{% tab name="python" %}} {{% tab name="python" %}}
```python ```python
print("Hello World!") print("Hello World!")
@ -94,7 +94,7 @@ Hello = World
Renders as: Renders as:
{{< tabs groupId="config" >}} {{< tabs groupId="tabs-example-config" >}}
{{% tab name="json" %}} {{% tab name="json" %}}
```json ```json
{ {