Releases: executablebooks/sphinx-copybutton
Releases · executablebooks/sphinx-copybutton
v0.5.2
v0.5.2 - 2022-11-15
v0.5.1
- ENH: Unselectable text is now also not highlighted when you manually highlight a code cell. Exclude unselectable text from being copied (update) #178 (@rkdarst)
- ENH: After copying, the copybutton will disappear before the icon changes back if you are no longer hovering on the code cell. FIX: Make copybutton remain for a second during success #176 (@choldgraf)
- MAINT: Add support for Python 3.10 #174 (@hugovk)
v0.5.0
This release updates the copy button design and behavior to match GitHub's design guide and button behavior. It also directly inserts the SVG instead of linking it via an <img>
tag so that it can be styled more flexibly.
Enhancements
- ENH: Directly add SVG instead of linking via IMG #161 (@choldgraf)
- ENH: Update copybutton image to match GitHub #155 (@choldgraf)
v0.4.0
v0.3.3
v0.3.2
See CHANGELOG.md for new enhancements!
v0.3.1
See CHANGELOG.md
Version 0.3.0
0.3.0 - 2020-07-25
Breaking
- Copy raw regex string to JS template, thanks to @s-weigand.
This fixes the way that thecopybutton_prompt_text
value is injected intocopybutton.js_t
(as discussed in #86).
The raw string formatting means that backslashes are now propagated correctly and removes the need for "double escaping".
Users will need to update theircopybutton_prompt_text
string accordingly.
Changed
- Upgraded lodash from 4.17.15 to 4.17.19
v0.2.12
v0.2.11
0.2.8...v0.2.11
Merged PRs
- fixing workflow #78 (@choldgraf)
- github action #77 (@choldgraf)
- sphinx copybutton info #75 (@choldgraf)
- fixing setup import #73 (@choldgraf)
- Make button un-selectable #72 (@mgeier)
- adding selector option #66 (@choldgraf)
- Use innerText instead of textContent #64 (@iwanb)
- adding python ocde blocks to docs #63 (@choldgraf)
- documentation improvements for copying functionality #62 (@choldgraf)
- adding template file to copybutton install #61 (@choldgraf)
- sphinx version update in rtd #60 (@choldgraf)
- directly inserting skipText into js #58 (@choldgraf)
- Fix problems with some themes #54 (@s-weigand)
- Merge pull request #53 from mgeier/remove-dependencies #53 (@mgeier)
- Avoid a Sphinx warning: add_stylesheet -> add_css_file #51 (@mgeier)
Contributors to this release
(GitHub contributors page for this release)
@choldgraf | @iwanb | @mgeier | @s-weigand | @sandrotosi