Skip to content

Commit 669ee33

Browse files
committed
docs: add sphinx-copybutton
1 parent 4dac7a0 commit 669ee33

3 files changed

Lines changed: 50 additions & 34 deletions

File tree

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"sphinx.ext.autosummary",
2424
"sphinx.ext.napoleon",
2525
"sphinx.ext.viewcode",
26+
"sphinx_copybutton",
2627
]
2728

2829
napoleon_google_docstring = True

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ dev = [
3434
"pytest-cov>=7.0,<8",
3535
"ruff>=0.6.0,<1",
3636
"sphinx>=7.4,<9",
37+
"sphinx-copybutton>=0.5,<1",
3738
"sphinx-rtd-theme>=2.0,<4",
3839
"twine>=5.1,<7",
3940
"uv>=0.6,<1",

uv.lock

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

0 commit comments

Comments
 (0)