python-tuf icon indicating copy to clipboard operation
python-tuf copied to clipboard

Make Implementations command/code copy-pastable

Open h4l0gen opened this issue 1 year ago • 1 comments

Please fill in the fields below to submit an issue or feature request. The more information that is provided, the better.

Description of issue or feature request: Currently, the implementation command/code is not copy-pastable. Giving an copy option in top right corner of code's box would address this issue. With this, we can pass the CNCF assessment criteria.

Current behavior: Not copy-pastable

Expected behavior: Should be copy-pastable.

h4l0gen avatar May 21 '24 20:05 h4l0gen

I will create PR for this.

h4l0gen avatar May 21 '24 20:05 h4l0gen

@JustinCappos what you think on this. As per last point of this criteria of CNCF assessment, we should have copy-pastable code. And we lack in that here.

h4l0gen avatar May 24 '24 12:05 h4l0gen

the implementation command/code is not copy-pastable.

The commands are copy-pastable just fine.

I'm not against adding a copy button if that's easily doable in Sphinx (but adding e.g. new doc build dependencies for this does not sound useful).

jku avatar May 24 '24 13:05 jku

Okay, I will give it a try, if that's easy to add, I will create PR. Thankyou.

h4l0gen avatar May 24 '24 13:05 h4l0gen