Add a copy button to each of your code cells.
[](/packages/sphinx-copybutton)
<a href="/packages/sphinx-copybutton"><img src="/api/badges/sphinx-copybutton?period=month" alt="PyPI Stats"></a>