diff --git a/assets/css/index.css b/assets/css/index.css
index 951cc11b38..ddfacb6699 100644
--- a/assets/css/index.css
+++ b/assets/css/index.css
@@ -1073,4 +1073,25 @@ a[href*="#no-click"], img[src*="#no-click"] {
.dd-item .highlight:hover {
color: #5961ff;
+}
+
+.copy-button {
+ background-color: #eee;
+ border: none;
+ padding: 4px;
+ cursor: pointer;
+ border-radius: 4px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
+.copy-button svg {
+ width: 16px;
+ height: 16px;
+ fill: #333;
+}
+
+.copy-button:hover {
+ background-color: #ddd;
}
\ No newline at end of file
diff --git a/layouts/commands/list.html b/layouts/commands/list.html
index e19ce379e1..fa1a38b351 100644
--- a/layouts/commands/list.html
+++ b/layouts/commands/list.html
@@ -132,7 +132,7 @@
{{ end }}
-
{{ partial "commands-nav.html" . }}
+ {{ partial "scripts.html" . }}
{{ end }}
diff --git a/layouts/commands/single.html b/layouts/commands/single.html
index 1b36b4b60a..36500e0f58 100644
--- a/layouts/commands/single.html
+++ b/layouts/commands/single.html
@@ -130,6 +130,6 @@ History
{{ end }}
-
+ {{ partial "scripts.html" . }}
{{ end }}
diff --git a/layouts/develop/list.html b/layouts/develop/list.html
index 82b50f81cd..510732555a 100644
--- a/layouts/develop/list.html
+++ b/layouts/develop/list.html
@@ -51,5 +51,6 @@
{{ partial "docs-toc.html" . }}
+ {{ partial "scripts.html" . }}
{{ end }}
diff --git a/layouts/develop/single.html b/layouts/develop/single.html
index a157d84ad3..733bdface5 100644
--- a/layouts/develop/single.html
+++ b/layouts/develop/single.html
@@ -37,5 +37,6 @@
{{ partial "docs-toc.html" . }}
+ {{ partial "scripts.html" . }}
{{ end }}
diff --git a/layouts/integrate/list.html b/layouts/integrate/list.html
index 793e67a8cb..d0f5665363 100644
--- a/layouts/integrate/list.html
+++ b/layouts/integrate/list.html
@@ -72,7 +72,7 @@
{{ end }}
-
{{ partial "commands-nav.html" . }}
+ {{ partial "scripts.html" . }}
{{ end }}
diff --git a/layouts/integrate/single.html b/layouts/integrate/single.html
index 786f266dfb..8a1a883499 100644
--- a/layouts/integrate/single.html
+++ b/layouts/integrate/single.html
@@ -36,5 +36,6 @@ {{ .Title }}
{{ partial "docs-toc.html" . }}
+ {{ partial "scripts.html" . }}
{{ end }}
diff --git a/layouts/integration/list.html b/layouts/integration/list.html
index 1147bc0478..411eb1ef79 100644
--- a/layouts/integration/list.html
+++ b/layouts/integration/list.html
@@ -48,5 +48,6 @@ {{ .Title }}
{{ partial "docs-toc.html" . }}
+ {{ partial "scripts.html" . }}
{{ end }}
diff --git a/layouts/integration/single.html b/layouts/integration/single.html
index a561346c87..41c035db84 100644
--- a/layouts/integration/single.html
+++ b/layouts/integration/single.html
@@ -36,5 +36,6 @@ {{ .Title }}
{{ partial "docs-toc.html" . }}
+ {{ partial "scripts.html" . }}
{{ end }}
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index a82336776b..caaee46967 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -1,5 +1,68 @@
-
+
+
+
+
+