Skip to content

Commit bc2c07e

Browse files
authored
feat: add copy button in docs (#1488)
1 parent 39d7f7a commit bc2c07e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"sphinx.ext.imgmath",
3838
"sphinx.ext.viewcode",
3939
"sphinx.ext.githubpages",
40+
"sphinx_copybutton",
4041
]
4142

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

docs/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
sphinx==8.1.3
2-
sphinx_rtd_theme==3.0.1
2+
sphinx_rtd_theme==3.0.1
3+
sphinx-copybutton>=0.5.0

0 commit comments

Comments
 (0)