Skip to content

Commit 1c4125d

Browse files
authored
docs: add copybutton to code blocks (#374)
1 parent 35638e5 commit 1c4125d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# Add any Sphinx extension module names here, as strings. They can be
2323
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
2424
# ones.
25-
extensions = ['myst_parser']
25+
extensions = ['myst_parser', "sphinx_copybutton"]
2626

2727
# Add any paths that contain templates here, relative to this directory.
2828
templates_path = ["_templates"]

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
furo
22
sphinx
33
myst-parser
4+
sphinx-copybutton

0 commit comments

Comments
 (0)