Skip to content

Commit 93dde4f

Browse files
committed
docs: Add a copy button to the code sections.
1 parent e2e26c4 commit 93dde4f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
sphinx==7.2.5
22
sphinx-rtd-theme==1.3.0
3+
sphinx-copybutton==0.5.2

docs/source/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
'sphinx.ext.autodoc',
1818
'sphinx.ext.autosummary',
1919
'sphinx.ext.intersphinx',
20+
21+
'sphinx_copybutton',
2022
]
2123

2224
root_doc = "index"

0 commit comments

Comments
 (0)