Skip to content

Commit

Permalink
Add copybutton to code chunks
Browse files Browse the repository at this point in the history
  • Loading branch information
rosericazondekon committed May 1, 2023
1 parent 764b961 commit 4e20bc2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,14 @@
'sphinx.ext.viewcode',
'sphinx.ext.mathjax',
'sphinx.ext.napoleon',
'sphinx_copybutton',
'm2r',
'sphinx_rtd_theme',
]

# Automatic exclusion of prompts from the copies
copybutton_exclude = '.linenos, .gp, .go'

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

Expand Down

0 comments on commit 4e20bc2

Please sign in to comment.