Commit 8a1d1fa3 authored by Ludvig Bohlin's avatar Ludvig Bohlin

Added a little 'copy' button to the right of code blocks.

parent 64685514
......@@ -24,9 +24,12 @@ extensions = [
'sphinx.ext.viewcode',
'sphinxcontrib.httpdomain',
'recommonmark',
'sphinx_markdown_tables'
'sphinx_markdown_tables',
'sphinx_copybutton'
]
copybutton_prompt_text = "$ "
# Do not warn about external images (status badges in README.rst)
suppress_warnings = ['image.nonlocal_uri']
......
......@@ -5,4 +5,5 @@ sphinxcontrib-httpdomain==1.7.0
Sphinx==2.4.4
recommonmark==0.6.0
markdown==3.0.1
sphinx-markdown-tables==0.0.12
\ No newline at end of file
sphinx-markdown-tables==0.0.12
sphinx-copybutton==0.2.10
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment