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

docs(dev): add copy button for code blocks #15746

Merged
merged 4 commits into from
Aug 9, 2024

Conversation

miketheman
Copy link
Member

To make it easier to copy code from the docs and paste into a terminal, add sphinx-copybutton which Furo theme already supports. Refs: https://pypi.org/project/sphinx-copybutton/

Remove leading $ signs for commands, since they should not be copied.

@miketheman miketheman requested a review from a team as a code owner April 10, 2024 14:05
To make it easier to copy code from the docs and paste into a terminal,
add `sphinx-copybutton` which Furo theme already supports.
Refs: https://pypi.org/project/sphinx-copybutton/

Remove leading `$` signs for commands, since they should not be copied.

Signed-off-by: Mike Fiedler <[email protected]>
@miketheman miketheman added the developer experience Anything that improves the experience for Warehouse devs label May 31, 2024
@miketheman miketheman enabled auto-merge (squash) May 31, 2024 19:16
@miketheman miketheman merged commit 6eea442 into pypi:main Aug 9, 2024
17 checks passed
@miketheman miketheman deleted the miketheman/dev-docs branch August 9, 2024 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
developer experience Anything that improves the experience for Warehouse devs documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants