Closed chipzoller closed 4 years ago
So it's the docsy theme built with Hugo, which doesn't appear to have a copy button.
This is something I'm going to look at trying to include from our Clarity theme once we release v2.
Looks like Kubernetes docs, using the same theme, now have a copy button. Here's an example:
We can check how its implemented.
I already implemented it. Both branches have it now. 🙂
Awesome! Closing...
You all have spent a lot of time writing some neat policies in the docs. It would be great if users could, with a simple button, copy the whole code block to the clipboard. Not sure what is being used for the site itself, else I would suggest.