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

Set copybutton to only copy input lines in docs #2836

Merged
merged 1 commit into from
Jul 4, 2023

Conversation

jessica-mitchell
Copy link
Contributor

This PR modify the copy button behaviour so it won't copy the '>>>' in input lines, it's also set to not copy the output. But this can be changed if the desired state is that the input and output should be copied with the button.

so if code looks like this:

>>> len(syn_spec)
2

The copybutton will paste
len(syn_spec)

@jessica-mitchell jessica-mitchell added S: Normal Handle this with default priority I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) labels Jun 22, 2023
@jessica-mitchell jessica-mitchell added this to In progress in Documentation via automation Jun 22, 2023
@jessica-mitchell jessica-mitchell added the T: Maintenance Work to keep up the quality of the code and documentation. label Jun 23, 2023
@jougs jougs self-requested a review July 4, 2023 12:04
Copy link
Contributor

@jougs jougs left a comment

Choose a reason for hiding this comment

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

Awesome!

@jougs jougs merged commit a9aa380 into nest:master Jul 4, 2023
20 checks passed
Documentation automation moved this from In progress to Done Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) S: Normal Handle this with default priority T: Maintenance Work to keep up the quality of the code and documentation.
Projects
Documentation
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants