Add copy button to code blocks in documentation#9830
Add copy button to code blocks in documentation#9830browniebroke merged 5 commits intoencode:mainfrom
Conversation
|
I may be completely wrong here, but adding new features or code formatting changes is not allowed according to the DRF policy. This would violate the DRF policy. |
Thanks for the feedback. |
browniebroke
left a comment
There was a problem hiding this comment.
Very cool! I noted a few things
|
Just tweaked the button size as I found out there was a smaller variant. Looks good to me otherwise. Thanks |
Thanks! @browniebroke The tweak looks nice 👍 |
Description
Currently, code blocks in the DRF documentation must be copied manually. This PR introduces a “Copy” button for code blocks to improve usability.
Scope: Docs-only improvement — does not modify DRF library or API.
Implementation:
Files and Purpose:
Discussion - #9829
Screenshots:
