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

213 code copy button #1409

Merged
merged 4 commits into from
Aug 27, 2019
Merged

Conversation

znicholasbrown
Copy link
Contributor

@znicholasbrown znicholasbrown commented Aug 27, 2019

Thanks for contributing to Prefect!

Please describe your work and make sure your PR:

  • adds new tests (if appropriate)
  • updates CHANGELOG.md (if appropriate)
  • updates docstrings for any new functions or function arguments, including docs/outline.toml for API reference docs (if appropriate)

Note that your PR will not be reviewed unless all three boxes are checked.

What does this PR change?

Uses the @dovy/vuepress-plugin-clipboard-copy plugin to add a copy button to all code blocks.

Why is this PR important?

It allows users to more easily interact with our tutorials and code blocks in the docs.

Notes

Depends on #1408
Closes #213

@codecov
Copy link

codecov bot commented Aug 27, 2019

Codecov Report

Merging #1409 into master will not change coverage.
The diff coverage is n/a.

Copy link
Member

@cicdw cicdw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is legitimately one of the most exciting surprise PRs to me! Closes #213

@jlowin
Copy link
Member

jlowin commented Aug 27, 2019

@jlowin
Copy link
Member

jlowin commented Aug 27, 2019

@cicdw just FYI the "Closes #213" has to go in the first comment for GH to recognize it (just added)

Copy link

@joshmeek joshmeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@cicdw cicdw merged commit 2adbcd9 into PrefectHQ:master Aug 27, 2019
abrookins pushed a commit that referenced this pull request Mar 15, 2022
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.

Add "copy" button to code in tutorials
4 participants