-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Add copy button to code blocks #9830
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add copy button to code blocks #9830
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very cool! I noted a few things
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:
