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)
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)
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)
0.4.0 - 2021-07-03
Enhancements ✨
The Copy Button UI/UX is now inspired from the recent GitHub copy button updates. #133
0.3.2 - 2021-06-11
Enhancements ✨
Add line continuation matching and "HERE-documents" #126 (@sappelhoff)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps sphinx-copybutton from 0.3.1 to 0.5.1.
Release notes
Sourced from sphinx-copybutton's releases.
Changelog
Sourced from sphinx-copybutton's changelog.
Commits
4345c48
MAINT: Fix workflow trigger (#184)a876d5f
MAINT: Add workflow call so publishing works (#182)66cfefe
RLS: v0.5.1 and movePublish to PyPI
action to dedicated file (#180)e529aa0
FIX: Make copybutton remain for a second during success (#176)403f289
[pre-commit.ci] pre-commit autoupdate (#177)cd2440f
ENH: Exclude unselectable text from being copied (update) (#178)6599429
[pre-commit.ci] pre-commit autoupdate (#173)3f45a0f
MAINT: Add support for Python 3.10 (#174)1fd5ca4
[pre-commit.ci] pre-commit autoupdate (#172)f84c001
⬆️ Bump ansi-regex from 3.0.0 to 3.0.1 (#171)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)