Skip to content

Commit 18987f8

Browse files
authored
DOCSP-31837: Change template to make code-block non-copyable. (#57)
1 parent 9d7a7e4 commit 18987f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ func printExamples(buf *bytes.Buffer, cmd *cobra.Command) {
4242
comment = " #"
4343
}
4444
buf.WriteString(`.. code-block::
45+
:copyable: false
4546
`)
4647
_, _ = fmt.Fprintf(buf, "\n %s%s\n", comment, indentString(example, identChar))
4748
}

0 commit comments

Comments
 (0)