File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed
Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -159,6 +159,7 @@ extensions = [
159159 " sphinx.ext.intersphinx" , # allows linking to other projects' documentation in API
160160 " sphinx_new_tab_link" , # each link opens in a new tab
161161 " myst_nb" , # Markdown and Jupyter Notebook support
162+ " sphinx_copybutton" , # add copy button to code blocks
162163]
163164```
164165
Original file line number Diff line number Diff line change 3636 "sphinx.ext.intersphinx" , # allows linking to other projects' documentation in API
3737 "sphinx_new_tab_link" , # each link opens in a new tab
3838 "myst_nb" , # Markdown and Jupyter Notebook support
39+ "sphinx_copybutton" , # add copy button to code blocks
3940]
4041
4142# https://myst-nb.readthedocs.io/en/latest/computation/execute.html
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ docs = [
3939 " ipywidgets" ,
4040 " sphinx-new-tab-link!=0.2.2" ,
4141 " jupytext" ,
42+ " sphinx-copybutton" ,
4243]
4344# local development options
4445dev = [" black[jupyter]" , " ruff" , " pytest" ]
You can’t perform that action at this time.
0 commit comments