Opened 7 hours ago
Closed 7 hours ago
#36826 closed Uncategorized (duplicate)
Add "copy to clipboard" button to documentation code blocks
| Reported by: | VidhiKathiriya05 | Owned by: | |
|---|---|---|---|
| Component: | Uncategorized | Version: | 6.0 |
| Severity: | Normal | Keywords: | javascript, UX, docs, clipboard |
| Cc: | Nilesh Pahari | Triage Stage: | Unreviewed |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | yes |
Description
Added a "copy to clipboard" button to all code blocks in the documentation. This improves the developer experience by allowing users to quickly copy examples. The implementation uses a lightweight JavaScript utility to handle the clipboard interaction and includes CSS styling to ensure the button matches the Django documentation theme.
Change History (3)
comment:1 by , 7 hours ago
comment:2 by , 7 hours ago
| Cc: | added |
|---|
comment:3 by , 7 hours ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Duplicate of #34846 (Add "Copy" button to the code snippets in docs.)
Note:
See TracTickets
for help on using tickets.
Could you please point out which documentation sections are missing this functionality? (I checked a few sections and found that code blocks already have a copy button)