sphinx-copybutton icon indicating copy to clipboard operation
sphinx-copybutton copied to clipboard

Add a "copy" button to code blocks in Sphinx

Results 53 sphinx-copybutton issues
Sort by recently updated
recently updated
newest added

### Describe the problem There are some cases where elements to the right of the copybutton can push its parent, but not the button itself. Here's what it looks like:...

bug

### Description Our documentation is currently written in rST, but it will be easier for others to maintain and update if we converted it to MyST Markdown. ### Guide to...

good first issue

### Description / Summary We're using sphinx-copybutton for our documentation and love it. Thank you very much. We'd like to allow stripping the prompt text for specific blocks of code...

enhancement

### Describe the problem I'm trying to modify the default css and the build doesn't reflect my changes. My setup is with separate folders for source and build, and I'm...

bug

In #133 we discussed that some people might want the copybutton image to be configurable. For example, provide a local SVG and use that for the copybutton image on the...

enhancement

### Describe the problem Hello! I'm trying to change the copy to clipboard image and following the instructions here (https://sphinx-copybutton.readthedocs.io/en/latest/) but am unable to change the image. The current image...

bug

### Describe the problem In Gitlab I have the following ` .gitlab-ci.yml` file: ```py image: python before_script: - apt-get update -y - apt-get install -y pandoc pages: stage: deploy script:...

enhancement

Just a little heads-up: If and when https://github.com/sphinx-doc/sphinx/pull/7879 is merged, those line number will probably have to be removed from the copied text.

I checked your code, looks like it assign a unique copy to each code block, and use that ID to copy code block to clipboard. I am wondering, is it...

**Is your feature request related to a problem? Please describe.** I find it a bit frustrating when the copy button interferes with me moving my mouse towards the end of...

enhancement