Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Hi maintainers,

I’d like to propose a documentation-only improvement to enhance usability: adding a “Copy” button to code blocks. This allows users to quickly copy example code without modifying the DRF library or API.

A simple implementation using CSS and JavaScript can achieve this, and it can be integrated via mkdocs.yml without affecting functionality.

Screenshot attached below for reference.

This change aligns with the current focus on documentation improvements. I’m happy to submit a PR if the maintainers support this enhancement.
Pull Request- #9830
Screenshots:
image

image
You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.