Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 696 Bytes

sphinx-copybutton.rst

File metadata and controls

33 lines (21 loc) · 696 Bytes
description

Sphinx copybutton works well with Shibuya Sphinx theme.

sphinx-copybutton

Add a little “copy” button to the right of your code blocks. This extension is maintained by Executable Books.

Install

pip install sphinx-copybutton

Then, add the extension to your conf.py:

extensions = [
    # ...
    "sphinx_copybutton",
]

Hint

Hovering on the code block above, you will see a copy button.