docs: enable copy-to-clipboard (#241)
- Commit
1c346498605199375078a72f6b2885afe7fa4dc3- Author
- Kabir Oberai <[email protected]>
- When
- 2026-09-03 02:11 UTC (3 months ago)
- Parents
8f11844
Ref https://github.com/swiftlang/swift-docc/pull/1273 Could be a good idea to later add `nocopy` to some of the code blocks that aren't commands
Diff
Documentation/build.sh
diff --git a/Documentation/build.sh b/Documentation/build.shindex e35264d..bda6b08 100755--- a/Documentation/build.sh+++ b/Documentation/build.sh@@ -22,4 +22,5 @@ else fi "$docc" "$command" xtool.docc \+ --enable-experimental-code-block-annotations \ --experimental-enable-custom-templates