Skip to content

Commit 422c072

Browse files
committed
feat: add sphinx-copybutton extension
1 parent 23eca7c commit 422c072

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@
2121
"sphinx.ext.autodoc",
2222
"sphinx.ext.viewcode",
2323
"sphinx.ext.doctest",
24+
"sphinx_copybutton",
2425
]

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ version = "0.5.0"
66
requires-python = "==3.14.0"
77
dependencies = [
88
"sphinx==8.2.3",
9+
"sphinx-copybutton>=0.5.2",
910
"sphinx-press-theme==0.9.1",
1011
]

uv.lock

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)