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

Copy Button not working properly for R #36

Closed
SvenKlaassen opened this issue Aug 3, 2021 · 3 comments · Fixed by #37
Closed

Copy Button not working properly for R #36

SvenKlaassen opened this issue Aug 3, 2021 · 3 comments · Fixed by #37
Labels
bug Something isn't working

Comments

@SvenKlaassen
Copy link
Member

Using the Copy Button for the R Code, copies the row numbers, too.

See for example: https://docs.doubleml.org/stable/intro/intro.html

@MalteKurz
Copy link
Member

Thanks for reporting this. In an older version, it looked like this:
image
The line numbers where separated (by a vertical line) and the copy-button did work as intended.
Now it looks like this
image
and the copy-button is no longer working.

I will check which dependency update did cause this change.

@MalteKurz MalteKurz added the bug Something isn't working label Aug 3, 2021
@MalteKurz
Copy link
Member

Tried to track it down. From the github actions history it looks like the root cause is in the following diff of package versions
Screenshot from 2021-08-03 14-05-33

@MalteKurz
Copy link
Member

Ok it seems like the combination of Sphinx in version >4.0.0 and jupyter-sphinx somehow causes this problem. The only solution I found so far is removing the line numbers. I think this should be fine. The functioning of the copy-button is definitely more valuable then line numbers....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants