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

feat: add copy to clipboard button #84

Merged
merged 2 commits into from Sep 8, 2022

Conversation

branchvincent
Copy link
Member

@branchvincent branchvincent commented Sep 8, 2022

Second attempt at #37. My only additions here are 1a336cc:

Closes #77

EDIT: Just noticed rollup still silently throws a parse error on the svg although everything functions. Will come back to this later today fixed

@github-actions
Copy link

github-actions bot commented Sep 8, 2022

Deploy preview for website ready!

✅ Preview
https://website-k70qvx4jy-python-poetry.vercel.app

Built with commit 1a336cc.
This pull request is being automatically deployed with vercel-action

@branchvincent branchvincent marked this pull request as draft September 8, 2022 12:27
@Secrus
Copy link
Member

Secrus commented Sep 8, 2022

Those errors you mentioned were the issue that brought down the prod website back when I did the first iteration of this. I gave up back then, but I hope you can make it work.

@branchvincent branchvincent marked this pull request as ready for review September 8, 2022 16:52
@branchvincent
Copy link
Member Author

@Secrus I swapped out the rollup plugin and things look good to me now. Would be great if you could also verify

@Secrus
Copy link
Member

Secrus commented Sep 8, 2022

LGTM, however, my previous attempt looked good as well 🤣.

@neersighted neersighted merged commit 10a2aff into python-poetry:main Sep 8, 2022
@branchvincent branchvincent deleted the copy-to-clipboard branch September 8, 2022 19:07
@johnthagen
Copy link
Contributor

Can confirm that the clipboard copying is working on https://python-poetry.org/docs/. Great job!

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

Successfully merging this pull request may close these issues.

Configure Hugo to allow copying code blocks to clipboard
4 participants