docs: fix tabpane styling

stop tabpane tabs colliding with the tabpane language by moving the tabs to the right
docs: https://www.docsy.dev/docs/adding-content/shortcodes/#tabbed-panes

support navigation via anchors to the various headings in the docs

https://www.docsy.dev/docs/adding-content/navigation/#heading-self-links

Signed-off-by: Orzelius <33936483+Orzelius@users.noreply.github.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
This commit is contained in:
Orzelius 2025-04-15 21:27:15 +09:00 committed by Andrey Smirnov
parent 134aa53cca
commit 141326ea3b
No known key found for this signature in database
GPG Key ID: FE042E3D4085A811
14 changed files with 40 additions and 39 deletions

View File

@ -32,7 +32,7 @@ Once installed, you can run Theila by simply running it.
<!-- markdownlint-disable MD022 -->
<!-- markdownlint-disable MD025 -->
{{< tabpane lang="bash" >}}
{{< tabpane lang="bash" right=true >}}
{{< tab header="Binary" >}}
# address and port are not required and default to the values shown
theila --address 127.0.0.1 --port 8080

View File

@ -32,7 +32,7 @@ Once installed, you can run Theila by simply running it.
<!-- markdownlint-disable MD022 -->
<!-- markdownlint-disable MD025 -->
{{< tabpane lang="bash" >}}
{{< tabpane lang="bash" right=true >}}
{{< tab header="Binary" >}}
# address and port are not required and default to the values shown
theila --address 127.0.0.1 --port 8080

View File

@ -156,7 +156,7 @@ The goal is to add a virtual IP `192.168.10.50` to the `eth0` interface and add
<!-- markdownlint-disable MD032 -->
<!-- markdownlint-disable MD025 -->
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
machine:
network:
@ -212,7 +212,7 @@ cluster:
The goal is to update pod and service subnets and disable default CNI (Flannel).
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
cluster:
network:
@ -265,7 +265,7 @@ machine:
The goal is to set the `kubelet` node IP to come from the subnet `192.168.10.0/24`.
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
machine:
kubelet:
@ -320,7 +320,7 @@ cluster:
The goal is to add an exemption for the namespace `rook-ceph`.
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
cluster:
apiServer:

View File

@ -92,7 +92,7 @@ The goal is to add a virtual IP `192.168.10.50` to the `eth0` interface and add
<!-- markdownlint-disable MD032 -->
<!-- markdownlint-disable MD025 -->
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
machine:
network:
@ -148,7 +148,7 @@ cluster:
The goal is to update pod and service subnets and disable default CNI (Flannel).
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
cluster:
network:
@ -201,7 +201,7 @@ machine:
The goal is to set the `kubelet` node IP to come from the subnet `192.168.10.0/24`.
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
machine:
kubelet:

View File

@ -124,7 +124,7 @@ There is already a how-to for Talos: [Link](https://github.com/piraeusdatastore/
<!-- markdownlint-disable MD032 -->
<!-- markdownlint-disable MD025 -->
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
machine:
install:

View File

@ -92,7 +92,7 @@ The goal is to add a virtual IP `192.168.10.50` to the `eth0` interface and add
<!-- markdownlint-disable MD032 -->
<!-- markdownlint-disable MD025 -->
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
machine:
network:
@ -148,7 +148,7 @@ cluster:
The goal is to update pod and service subnets and disable default CNI (Flannel).
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
cluster:
network:
@ -201,7 +201,7 @@ machine:
The goal is to set the `kubelet` node IP to come from the subnet `192.168.10.0/24`.
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
machine:
kubelet:
@ -256,7 +256,7 @@ cluster:
The goal is to add an exemption for the namespace `rook-ceph`.
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
cluster:
apiServer:

View File

@ -136,7 +136,7 @@ There is already a how-to for Talos: [Link](https://github.com/piraeusdatastore/
<!-- markdownlint-disable MD032 -->
<!-- markdownlint-disable MD025 -->
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
machine:
install:

View File

@ -93,7 +93,7 @@ The goal is to add a virtual IP `192.168.10.50` to the `eth0` interface and add
<!-- markdownlint-disable MD032 -->
<!-- markdownlint-disable MD025 -->
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
machine:
network:
@ -149,7 +149,7 @@ cluster:
The goal is to update pod and service subnets and disable default CNI (Flannel).
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
cluster:
network:
@ -202,7 +202,7 @@ machine:
The goal is to set the `kubelet` node IP to come from the subnet `192.168.10.0/24`.
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
machine:
kubelet:
@ -257,7 +257,7 @@ cluster:
The goal is to add an exemption for the namespace `rook-ceph`.
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
cluster:
apiServer:

View File

@ -102,7 +102,7 @@ The goal is to add a virtual IP `192.168.10.50` to the `eth0` interface and add
<!-- markdownlint-disable MD032 -->
<!-- markdownlint-disable MD025 -->
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
machine:
network:
@ -158,7 +158,7 @@ cluster:
The goal is to update pod and service subnets and disable default CNI (Flannel).
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
cluster:
network:
@ -211,7 +211,7 @@ machine:
The goal is to set the `kubelet` node IP to come from the subnet `192.168.10.0/24`.
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
machine:
kubelet:
@ -266,7 +266,7 @@ cluster:
The goal is to add an exemption for the namespace `rook-ceph`.
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
cluster:
apiServer:

View File

@ -104,7 +104,7 @@ The goal is to add a virtual IP `192.168.10.50` to the `eth0` interface and add
<!-- markdownlint-disable MD032 -->
<!-- markdownlint-disable MD025 -->
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
machine:
network:
@ -160,7 +160,7 @@ cluster:
The goal is to update pod and service subnets and disable default CNI (Flannel).
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
cluster:
network:
@ -213,7 +213,7 @@ machine:
The goal is to set the `kubelet` node IP to come from the subnet `192.168.10.0/24`.
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
machine:
kubelet:
@ -268,7 +268,7 @@ cluster:
The goal is to add an exemption for the namespace `rook-ceph`.
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
cluster:
apiServer:

View File

@ -104,7 +104,7 @@ The goal is to add a virtual IP `192.168.10.50` to the `eth0` interface and add
<!-- markdownlint-disable MD032 -->
<!-- markdownlint-disable MD025 -->
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
machine:
network:
@ -160,7 +160,7 @@ cluster:
The goal is to update pod and service subnets and disable default CNI (Flannel).
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
cluster:
network:
@ -213,7 +213,7 @@ machine:
The goal is to set the `kubelet` node IP to come from the subnet `192.168.10.0/24`.
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
machine:
kubelet:
@ -268,7 +268,7 @@ cluster:
The goal is to add an exemption for the namespace `rook-ceph`.
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
cluster:
apiServer:

View File

@ -156,7 +156,7 @@ The goal is to add a virtual IP `192.168.10.50` to the `eth0` interface and add
<!-- markdownlint-disable MD032 -->
<!-- markdownlint-disable MD025 -->
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
machine:
network:
@ -212,7 +212,7 @@ cluster:
The goal is to update pod and service subnets and disable default CNI (Flannel).
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
cluster:
network:
@ -265,7 +265,7 @@ machine:
The goal is to set the `kubelet` node IP to come from the subnet `192.168.10.0/24`.
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
machine:
kubelet:
@ -320,7 +320,7 @@ cluster:
The goal is to add an exemption for the namespace `rook-ceph`.
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
cluster:
apiServer:

View File

@ -156,7 +156,7 @@ The goal is to add a virtual IP `192.168.10.50` to the `eth0` interface and add
<!-- markdownlint-disable MD032 -->
<!-- markdownlint-disable MD025 -->
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
machine:
network:
@ -212,7 +212,7 @@ cluster:
The goal is to update pod and service subnets and disable default CNI (Flannel).
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
cluster:
network:
@ -265,7 +265,7 @@ machine:
The goal is to set the `kubelet` node IP to come from the subnet `192.168.10.0/24`.
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
machine:
kubelet:
@ -320,7 +320,7 @@ cluster:
The goal is to add an exemption for the namespace `rook-ceph`.
{{< tabpane lang="yaml" >}}
{{< tabpane lang="yaml" right=true >}}
{{< tab header="Strategic merge patch" >}}
cluster:
apiServer:

View File

@ -0,0 +1 @@
{{ template "_default/_markup/td-render-heading.html" . }}