./textproc/py-sphinx-copybutton, Sphinx module to add a copy button to code cells

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.5.2, Package name: py312-sphinx-copybutton-0.5.2, Maintainer: pkgsrc-users

A small sphinx extension to add a "copy" button to code blocks.


Required to run:
[textproc/py-sphinx] [lang/python310]

Master sites:

Filesize: 22.499 KB

Version history: (Expand)


CVS history: (Expand)


   2023-11-07 23:38:10 by Thomas Klausner | Files touched by this commit (112)
Log message:
*: latest py-sphinx only support Python 3.9+
   2023-05-05 10:02:20 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-sphinx-copybutton: updated to 0.5.2

v0.5.2
BUG: Don't exclude .gp class by default. This made excluding prompts more \ 
automatic, but broke the existing pattern-based prompt exclusion.
MAINT: Add Sphinx Extension classifier
DOCS: Improve docs related to text exclusion
   2022-11-24 14:25:38 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-sphinx-copybutton: updated to 0.5.1

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)
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
MAINT: Add support for Python 3.10
   2022-02-07 16:19:31 by Thomas Klausner | Files touched by this commit (4)
Log message:
textproc/py-sphinx-copybutton: import py-sphinx-copybutton-0.5.0

A small sphinx extension to add a "copy" button to code blocks.