File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ class PyTypeObject(ctypes.Structure):
87
87
'IPython.sphinxext.ipython_console_highlighting' ,
88
88
'IPython.sphinxext.ipython_directive' ,
89
89
'sphinx.ext.mathjax' ,
90
+ 'sphinx_copybutton' ,
90
91
'sphinx_design' ,
91
92
]
92
93
@@ -285,6 +286,7 @@ def setup(app):
285
286
plot_html_show_formats = False
286
287
plot_html_show_source_link = False
287
288
289
+ copybutton_prompt_text = ">>> "
288
290
# -----------------------------------------------------------------------------
289
291
# LaTeX output
290
292
# -----------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ dependencies:
29
29
- mypy=1.10.0
30
30
# For building docs
31
31
- sphinx>=4.5.0
32
+ - sphinx-copybutton
32
33
- sphinx-design
33
34
- numpydoc=1.4.0
34
35
- ipython
Original file line number Diff line number Diff line change 2
2
sphinx==7.2.6
3
3
numpydoc==1.4
4
4
pydata-sphinx-theme>=0.15.2
5
+ sphinx-copybutton
5
6
sphinx-design
6
7
scipy
7
8
matplotlib
You can’t perform that action at this time.
0 commit comments