Skip to content

Proposal to add copy button to code examples #107024

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

Open
churnikov opened this issue Jul 22, 2023 · 0 comments
Open

Proposal to add copy button to code examples #107024

churnikov opened this issue Jul 22, 2023 · 0 comments
Labels
docs Documentation in the Doc dir

Comments

@churnikov
Copy link

churnikov commented Jul 22, 2023

Documentation

Hi!

I'd like to suggest adding copy button to the code blocks in the documentation.

issue

Right now, when I'm coming the docs pages I don't see any copy button for code examples. That leads one to manually selecting code and then pressing cmd+c. That is inconvenient, especially considering that there are packages like this one: https://sphinx-copybutton.readthedocs.io/en/latest/index.html

If I cannot add new dependency, there is manual option as well
https://chrisholdgraf.com/blog/2018/sphinx-copy-buttons/

Setup

MacOS ventura
Browsers: Firefox and Chrome

Linked PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

1 participant