Skip to content

Commit fdb454a

Browse files
committed
Fix broken copy to clipboard widgets
1 parent c1921a5 commit fdb454a

24 files changed

+144
-48
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.1/prod-deployment/prod-guidance-cache-max-sql-memory.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
{% capture formula %}{% include_cached copy-clipboard.html %}<div class="highlight"><pre><code class="language-none" data-lang="none">(2 * --max-sql-memory) + --cache &lt;= 80% of system RAM
1+
{% capture formula %}
2+
3+
{% include_cached copy-clipboard.html %}<div class="highlight"><pre><code class="language-none" data-lang="none">(2 * --max-sql-memory) + --cache &lt;= 80% of system RAM
24
</code></pre></div>
35
{% endcapture %}
46
The default value for `--cache` is 128 MiB. For production deployments, set `--cache` to `25%` or higher. To determine appropriate settings for `--cache` and `--max-sql-memory`, use the following formula: {{ formula }}

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/v23.2/prod-deployment/prod-guidance-cache-max-sql-memory.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
{% capture formula %}{% include_cached copy-clipboard.html %}<div class="highlight"><pre><code class="language-none" data-lang="none">(2 * --max-sql-memory) + --cache &lt;= 80% of system RAM
1+
{% capture formula %}
2+
3+
{% include_cached copy-clipboard.html %}<div class="highlight"><pre><code class="language-none" data-lang="none">(2 * --max-sql-memory) + --cache &lt;= 80% of system RAM
24
</code></pre></div>
35
{% endcapture %}
46
The default value for `--cache` is 128 MiB. For production deployments, set `--cache` to `25%` or higher. To determine appropriate settings for `--cache` and `--max-sql-memory`, use the following formula: {{ formula }}

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.1/prod-deployment/prod-guidance-cache-max-sql-memory.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
{% capture formula %}{% include_cached copy-clipboard.html %}<div class="highlight"><pre><code class="language-none" data-lang="none">(2 * --max-sql-memory) + --cache &lt;= 80% of system RAM
1+
{% capture formula %}
2+
3+
{% include_cached copy-clipboard.html %}<div class="highlight"><pre><code class="language-none" data-lang="none">(2 * --max-sql-memory) + --cache &lt;= 80% of system RAM
24
</code></pre></div>
35
{% endcapture %}
46
The default value for `--cache` is 128 MiB. For production deployments, set `--cache` to `25%` or higher. To determine appropriate settings for `--cache` and `--max-sql-memory`, use the following formula: {{ formula }}

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
~~~

0 commit comments

Comments
 (0)