lincc-frameworks / python-project-template

Python project best practices for scientific software
https://lincc-ppt.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
61 stars 15 forks source link

Add a copy button in documentation #407

Closed delucchi-cmu closed 7 months ago

delucchi-cmu commented 8 months ago

This applies to the LINCC-PPT project, and not the hydrated projects.

There is a LOT of scripting text in the PPT documentation that I find myself copy/pasting, and would love to have the little copy button appear next to those code blocks. The [sphinx-copybutton](https://sphinx-copybutton.readthedocs.io/en/latest/index.html) extension achieves this.