Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7k
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 ourterms of service andprivacy 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
p-r-a-v-i-n commentedNov 22, 2025
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 theDRF policy. |
Shrikantgiri25 commentedNov 22, 2025
Thanks for the feedback. |
Uh oh!
There was an error while loading.Please reload this page.
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:
