python3-sphinx-copybutton: add recipe

The sphinx-copybutton extension can be used to add a copy button to code
blocks in the documentation.

(From OE-Core rev: ebf14a6dc1a5fd041f4df4fd8c6f28da9d15c8f6)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Antonin Godard
2025-06-26 17:15:44 +02:00
committed by Richard Purdie
parent 8a2e01564b
commit d63c1d406f
2 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
SUMMARY = "Add a copy button to code blocks in Sphinx"
HOMEPAGE = "https://sphinx-copybutton.readthedocs.io"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c60e920848b6d2ecec51ea44a1a33bf0"
SRC_URI[sha256sum] = "4cf17c82fb9646d1bc9ca92ac280813a3b605d8c421225fd9913154103ee1fbd"
inherit setuptools3 pypi
BBCLASSEXTEND = "native nativesdk"