Skip to content

Commit 4f99a08

Browse files
ianhitomwhite
authored andcommitted
doc: add copybutton to code snippets
1 parent 7fdce78 commit 4f99a08

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
"sphinx.ext.githubpages",
5252
"sphinx.ext.intersphinx",
5353
"sphinx.ext.extlinks",
54+
"sphinx_copybutton",
5455
"scanpydoc",
5556
"IPython.sphinxext.ipython_console_highlighting",
5657
"IPython.sphinxext.ipython_directive",

requirements-doc.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ myst_nb
22
pydata-sphinx-theme
33
sphinx==6.2.1
44
sphinx_autodoc_typehints>=1.14.0
5+
sphinx-copybutton
56
scanpydoc
67
ipython
78
matplotlib

0 commit comments

Comments
 (0)