Skip to content

Commit c01e003

Browse files
authored
Fix broken copy to clipboard widgets (#20137)
1 parent c1921a5 commit c01e003

16 files changed

+120
-40
lines changed

src/current/_includes/v23.1/orchestration/kubernetes-stop-cluster.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ Do **not** use the `--all` flag to `kubectl delete`, to avoid the risk of data l
7979
pod "cockroachdb-client-secure" deleted
8080
~~~
8181

82-
{% capture get_issuers_command %}{% include_cached copy-clipboard.html %}
82+
{% capture get_issuers_command %}
83+
84+
{% include_cached copy-clipboard.html %}
8385
~~~ shell
8486
kubectl get issuer
8587
~~~
@@ -88,7 +90,9 @@ Do **not** use the `--all` flag to `kubectl delete`, to avoid the risk of data l
8890
~~~
8991
{% endcapture %}
9092

91-
{% capture get_csrs_command %}{% include_cached copy-clipboard.html %}
93+
{% capture get_csrs_command %}
94+
95+
{% include_cached copy-clipboard.html %}
9296
~~~ shell
9397
kubectl get csr
9498
~~~

src/current/_includes/v23.1/orchestration/start-cockroachdb-operator-secure.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
### Install the Operator
22

33
{% capture latest_operator_version %}{% include_cached latest_operator_version.md %}{% endcapture %}
4-
{% capture apply_default_operator_manifest_command %}{% include_cached copy-clipboard.html %}
4+
{% capture apply_default_operator_manifest_command %}
5+
6+
{% include_cached copy-clipboard.html %}
57
~~~ shell
68
kubectl apply -f https://raw.githubusercontent.com/cockroachdb/cockroach-operator/v{{ latest_operator_version }}/install/operator.yaml
79
~~~
@@ -17,12 +19,16 @@
1719
deployment.apps/cockroach-operator created
1820
~~~
1921
{% endcapture %}
20-
{% capture download_operator_manifest_command %}{% include_cached copy-clipboard.html %}
22+
{% capture download_operator_manifest_command %}
23+
24+
{% include_cached copy-clipboard.html %}
2125
~~~ shell
2226
curl -O https://raw.githubusercontent.com/cockroachdb/cockroach-operator/v{{ latest_operator_version }}/install/operator.yaml
2327
~~~
2428
{% endcapture %}
25-
{% capture apply_local_operator_manifest_command %}{% include_cached copy-clipboard.html %}
29+
{% capture apply_local_operator_manifest_command %}
30+
31+
{% include_cached copy-clipboard.html %}
2632
~~~ shell
2733
kubectl apply -f operator.yaml
2834
~~~

src/current/_includes/v23.2/orchestration/kubernetes-stop-cluster.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ Do **not** use the `--all` flag to `kubectl delete`, to avoid the risk of data l
7979
pod "cockroachdb-client-secure" deleted
8080
~~~
8181

82-
{% capture get_issuers_command %}{% include_cached copy-clipboard.html %}
82+
{% capture get_issuers_command %}
83+
84+
{% include_cached copy-clipboard.html %}
8385
~~~ shell
8486
kubectl get issuer
8587
~~~
@@ -88,7 +90,9 @@ Do **not** use the `--all` flag to `kubectl delete`, to avoid the risk of data l
8890
~~~
8991
{% endcapture %}
9092

91-
{% capture get_csrs_command %}{% include_cached copy-clipboard.html %}
93+
{% capture get_csrs_command %}
94+
95+
{% include_cached copy-clipboard.html %}
9296
~~~ shell
9397
kubectl get csr
9498
~~~

src/current/_includes/v23.2/orchestration/start-cockroachdb-operator-secure.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
### Install the Operator
22

33
{% capture latest_operator_version %}{% include_cached latest_operator_version.md %}{% endcapture %}
4-
{% capture apply_default_operator_manifest_command %}{% include_cached copy-clipboard.html %}
4+
{% capture apply_default_operator_manifest_command %}
5+
6+
{% include_cached copy-clipboard.html %}
57
~~~ shell
68
kubectl apply -f https://raw.githubusercontent.com/cockroachdb/cockroach-operator/v{{ latest_operator_version }}/install/operator.yaml
79
~~~
@@ -17,12 +19,16 @@
1719
deployment.apps/cockroach-operator created
1820
~~~
1921
{% endcapture %}
20-
{% capture download_operator_manifest_command %}{% include_cached copy-clipboard.html %}
22+
{% capture download_operator_manifest_command %}
23+
24+
{% include_cached copy-clipboard.html %}
2125
~~~ shell
2226
curl -O https://raw.githubusercontent.com/cockroachdb/cockroach-operator/v{{ latest_operator_version }}/install/operator.yaml
2327
~~~
2428
{% endcapture %}
25-
{% capture apply_local_operator_manifest_command %}{% include_cached copy-clipboard.html %}
29+
{% capture apply_local_operator_manifest_command %}
30+
31+
{% include_cached copy-clipboard.html %}
2632
~~~ shell
2733
kubectl apply -f operator.yaml
2834
~~~

src/current/_includes/v24.1/orchestration/kubernetes-stop-cluster.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ Do **not** use the `--all` flag to `kubectl delete`, to avoid the risk of data l
7979
pod "cockroachdb-client-secure" deleted
8080
~~~
8181

82-
{% capture get_issuers_command %}{% include_cached copy-clipboard.html %}
82+
{% capture get_issuers_command %}
83+
84+
{% include_cached copy-clipboard.html %}
8385
~~~ shell
8486
kubectl get issuer
8587
~~~
@@ -88,7 +90,9 @@ Do **not** use the `--all` flag to `kubectl delete`, to avoid the risk of data l
8890
~~~
8991
{% endcapture %}
9092

91-
{% capture get_csrs_command %}{% include_cached copy-clipboard.html %}
93+
{% capture get_csrs_command %}
94+
95+
{% include_cached copy-clipboard.html %}
9296
~~~ shell
9397
kubectl get csr
9498
~~~

src/current/_includes/v24.1/orchestration/start-cockroachdb-operator-secure.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
### Install the Operator
22

33
{% capture latest_operator_version %}{% include_cached latest_operator_version.md %}{% endcapture %}
4-
{% capture apply_default_operator_manifest_command %}{% include_cached copy-clipboard.html %}
4+
{% capture apply_default_operator_manifest_command %}
5+
6+
{% include_cached copy-clipboard.html %}
57
~~~ shell
68
kubectl apply -f https://raw.githubusercontent.com/cockroachdb/cockroach-operator/v{{ latest_operator_version }}/install/operator.yaml
79
~~~
@@ -17,12 +19,16 @@
1719
deployment.apps/cockroach-operator created
1820
~~~
1921
{% endcapture %}
20-
{% capture download_operator_manifest_command %}{% include_cached copy-clipboard.html %}
22+
{% capture download_operator_manifest_command %}
23+
24+
{% include_cached copy-clipboard.html %}
2125
~~~ shell
2226
curl -O https://raw.githubusercontent.com/cockroachdb/cockroach-operator/v{{ latest_operator_version }}/install/operator.yaml
2327
~~~
2428
{% endcapture %}
25-
{% capture apply_local_operator_manifest_command %}{% include_cached copy-clipboard.html %}
29+
{% capture apply_local_operator_manifest_command %}
30+
31+
{% include_cached copy-clipboard.html %}
2632
~~~ shell
2733
kubectl apply -f operator.yaml
2834
~~~

src/current/_includes/v24.2/orchestration/kubernetes-stop-cluster.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ Do **not** use the `--all` flag to `kubectl delete`, to avoid the risk of data l
7979
pod "cockroachdb-client-secure" deleted
8080
~~~
8181

82-
{% capture get_issuers_command %}{% include_cached copy-clipboard.html %}
82+
{% capture get_issuers_command %}
83+
84+
{% include_cached copy-clipboard.html %}
8385
~~~ shell
8486
kubectl get issuer
8587
~~~
@@ -88,7 +90,9 @@ Do **not** use the `--all` flag to `kubectl delete`, to avoid the risk of data l
8890
~~~
8991
{% endcapture %}
9092

91-
{% capture get_csrs_command %}{% include_cached copy-clipboard.html %}
93+
{% capture get_csrs_command %}
94+
95+
{% include_cached copy-clipboard.html %}
9296
~~~ shell
9397
kubectl get csr
9498
~~~

src/current/_includes/v24.2/orchestration/start-cockroachdb-operator-secure.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
### Install the Operator
22

33
{% capture latest_operator_version %}{% include_cached latest_operator_version.md %}{% endcapture %}
4-
{% capture apply_default_operator_manifest_command %}{% include_cached copy-clipboard.html %}
4+
{% capture apply_default_operator_manifest_command %}
5+
6+
{% include_cached copy-clipboard.html %}
57
~~~ shell
68
kubectl apply -f https://raw.githubusercontent.com/cockroachdb/cockroach-operator/v{{ latest_operator_version }}/install/operator.yaml
79
~~~
@@ -17,12 +19,16 @@
1719
deployment.apps/cockroach-operator created
1820
~~~
1921
{% endcapture %}
20-
{% capture download_operator_manifest_command %}{% include_cached copy-clipboard.html %}
22+
{% capture download_operator_manifest_command %}
23+
24+
{% include_cached copy-clipboard.html %}
2125
~~~ shell
2226
curl -O https://raw.githubusercontent.com/cockroachdb/cockroach-operator/v{{ latest_operator_version }}/install/operator.yaml
2327
~~~
2428
{% endcapture %}
25-
{% capture apply_local_operator_manifest_command %}{% include_cached copy-clipboard.html %}
29+
{% capture apply_local_operator_manifest_command %}
30+
31+
{% include_cached copy-clipboard.html %}
2632
~~~ shell
2733
kubectl apply -f operator.yaml
2834
~~~

src/current/_includes/v24.3/orchestration/kubernetes-stop-cluster.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ Do **not** use the `--all` flag to `kubectl delete`, to avoid the risk of data l
7979
pod "cockroachdb-client-secure" deleted
8080
~~~
8181

82-
{% capture get_issuers_command %}{% include_cached copy-clipboard.html %}
82+
{% capture get_issuers_command %}
83+
84+
{% include_cached copy-clipboard.html %}
8385
~~~ shell
8486
kubectl get issuer
8587
~~~
@@ -88,7 +90,9 @@ Do **not** use the `--all` flag to `kubectl delete`, to avoid the risk of data l
8890
~~~
8991
{% endcapture %}
9092

91-
{% capture get_csrs_command %}{% include_cached copy-clipboard.html %}
93+
{% capture get_csrs_command %}
94+
95+
{% include_cached copy-clipboard.html %}
9296
~~~ shell
9397
kubectl get csr
9498
~~~

src/current/_includes/v24.3/orchestration/start-cockroachdb-operator-secure.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
### Install the Operator
22

33
{% capture latest_operator_version %}{% include_cached latest_operator_version.md %}{% endcapture %}
4-
{% capture apply_default_operator_manifest_command %}{% include_cached copy-clipboard.html %}
4+
{% capture apply_default_operator_manifest_command %}
5+
6+
{% include_cached copy-clipboard.html %}
57
~~~ shell
68
kubectl apply -f https://raw.githubusercontent.com/cockroachdb/cockroach-operator/v{{ latest_operator_version }}/install/operator.yaml
79
~~~
@@ -17,12 +19,16 @@
1719
deployment.apps/cockroach-operator created
1820
~~~
1921
{% endcapture %}
20-
{% capture download_operator_manifest_command %}{% include_cached copy-clipboard.html %}
22+
{% capture download_operator_manifest_command %}
23+
24+
{% include_cached copy-clipboard.html %}
2125
~~~ shell
2226
curl -O https://raw.githubusercontent.com/cockroachdb/cockroach-operator/v{{ latest_operator_version }}/install/operator.yaml
2327
~~~
2428
{% endcapture %}
25-
{% capture apply_local_operator_manifest_command %}{% include_cached copy-clipboard.html %}
29+
{% capture apply_local_operator_manifest_command %}
30+
31+
{% include_cached copy-clipboard.html %}
2632
~~~ shell
2733
kubectl apply -f operator.yaml
2834
~~~

0 commit comments

Comments
 (0)