Merge pull request #2196 from choldgraf/copybutton

add a copy button to code cells
This commit is contained in:
Min RK
2018-09-27 14:13:56 +02:00
committed by GitHub
3 changed files with 3 additions and 0 deletions

View File

@@ -20,3 +20,4 @@ dependencies:
- async_generator - async_generator
- prometheus_client - prometheus_client
- attrs>=17.4.0 - attrs>=17.4.0
- sphinx-copybutton

View File

@@ -3,3 +3,4 @@
-r ../requirements.txt -r ../requirements.txt
sphinx>=1.7 sphinx>=1.7
recommonmark==0.4.0 recommonmark==0.4.0
sphinx-copybutton

View File

@@ -21,6 +21,7 @@ extensions = [
'sphinx.ext.intersphinx', 'sphinx.ext.intersphinx',
'sphinx.ext.napoleon', 'sphinx.ext.napoleon',
'autodoc_traits', 'autodoc_traits',
'sphinx_copybutton'
] ]
templates_path = ['_templates'] templates_path = ['_templates']