Skip to content

Commit 7b7a879

Browse files
committed
docs: Add copy button to code blocks
1 parent b57e27d commit 7b7a879

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

doc/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
reno>=3.4.0 # Apache-2.0
66
sphinx>=4.2.0 # BSD
77
sphinxcontrib-svg2pdfconverter>=0.1.0 # BSD
8+
sphinx-copybutton # MIT
89
Sphinx-Substitution-Extensions # Apache-2.0

doc/source/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
'sphinx.ext.extlinks',
5858
#'sphinx.ext.intersphinx',
5959
'sphinxcontrib.rsvgconverter',
60+
'sphinx_copybutton',
6061
'sphinx_substitution_extensions',
6162
]
6263

0 commit comments

Comments
 (0)