Skip to content
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

Add a copy button to all code snippets in docs #1030

Merged
merged 1 commit into from Jun 2, 2023

Conversation

ericwb
Copy link
Member

@ericwb ericwb commented Jun 2, 2023

There is a sphinx extension (sphinx_copybutton) that enables a copy button for every code-block included in our docs. This is a nice and easy usability change.

https://sphinx-copybutton.readthedocs.io/en/latest/
https://github.com/executablebooks/sphinx-copybutton
https://pypi.org/project/sphinx-copybutton/

There is a sphinx extension (sphinx_copybutton) that enables a
copy button for every code-block included in our docs. This is a
nice and easy usability change.

Signed-off-by: Eric Brown <eric_wade_brown@yahoo.com>
@ericwb ericwb merged commit b9ae420 into PyCQA:main Jun 2, 2023
13 checks passed
@ericwb ericwb deleted the sphinx_copybutton branch June 2, 2023 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants