Skip to content

Commit ca82a4b

Browse files
Add copy button in the documentation code snippets (AtsushiSakai#840)
1 parent 390c1cd commit ca82a4b

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
@@ -45,6 +45,7 @@
4545
'sphinx.ext.napoleon',
4646
'sphinx.ext.imgconverter',
4747
'IPython.sphinxext.ipython_console_highlighting',
48+
'sphinx_copybutton',
4849
]
4950

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

docs/doc_requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ sphinx == 4.3.2 # For sphinx documentation
22
sphinx_rtd_theme == 1.0.0
33
IPython == 8.10.0 # For sphinx documentation
44
sphinxcontrib-napoleon == 0.7 # For auto doc
5+
sphinx-copybutton

0 commit comments

Comments
 (0)