Skip to content

Commit 5405a12

Browse files
authored
Merge pull request #1329 from mathbunnyru/asalikhov/add_copy_button
Add copy button to the docs
2 parents aea3dba + 708e625 commit 5405a12

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
3232
# ones.
3333
extensions = [
34-
'myst_parser'
34+
'myst_parser',
35+
'sphinx_copybutton'
3536
]
3637

3738
# Add any paths that contain templates here, relative to this directory.

requirements-dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ pre-commit
55
pytest
66
requests
77
sphinx>=2.1
8+
sphinx-copybutton
89
sphinx-intl
910
tabulate
1011
transifex-client

0 commit comments

Comments
 (0)