-
Notifications
You must be signed in to change notification settings - Fork 675
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 copy button selector #5663
Add copy button selector #5663
Conversation
Signed-off-by: Christopher Hakkaart <[email protected]>
Signed-off-by: Christopher Hakkaart <[email protected]>
✅ Deploy Preview for nextflow-docs-staging canceled.
|
Signed-off-by: Chris Hakkaart <[email protected]>
Signed-off-by: Christopher Hakkaart <[email protected]>
Signed-off-by: Christopher Hakkaart <[email protected]>
@christopher-hakkaart do you have an idea of which snippets you would like to make copyable? |
The install page and your first scrip page for now. I'm working on the your first script page in #5664. I'd like to separate out commands and outputs, and make the commands copyable. #5664 will require some more discussion as I've rewritten the example to use targets. |
It would be good to make some snippets copyable in this PR, to verify that it works, or else fold these changes into your other PR. Either way is fine by me. |
Signed-off-by: Christopher Hakkaart <[email protected]>
Good point. I've added copy buttons to the install page as a POC and made a few minor language edits to the text. |
Signed-off-by: Christopher Hakkaart <[email protected]> Signed-off-by: Chris Hakkaart <[email protected]> Co-authored-by: Ben Sherman <[email protected]> Signed-off-by: Jonathan Manning <[email protected]>
Signed-off-by: Christopher Hakkaart <[email protected]> Signed-off-by: Chris Hakkaart <[email protected]> Co-authored-by: Ben Sherman <[email protected]> Signed-off-by: Jonathan Manning <[email protected]>
Add a selector for a commands/snippets copy button. Turned off by default but can be added selectively: