adding copy button

This commit is contained in:
Chris Holdgraf
2018-08-10 15:28:22 -07:00
parent da589ce039
commit 8fe026b48f
2 changed files with 2 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ def setup(app):
app.add_javascript("https://cdn.jsdelivr.net/npm/clipboard@1/dist/clipboard.min.js") app.add_javascript("https://cdn.jsdelivr.net/npm/clipboard@1/dist/clipboard.min.js")
# Enable MathJax for Math # Enable MathJax for Math
extensions = ['sphinx.ext.mathjax'] extensions = ['sphinx.ext.mathjax', 'sphinx_copybutton']
# The master toctree document. # The master toctree document.
master_doc = 'index' master_doc = 'index'

View File

@@ -0,0 +1 @@
sphinx_copybutton