Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add "copy" button to the sphinx documentation page. (#609)
### Description Following https://sphinx-copybutton.readthedocs.io/en/latest/ to add a little “copy” button to the right of the code blocks. Added `sphinx_copybutton` extension in conf.py. Tested in local build (`make html`) and it works fine, but I'm not sure if the `sphinx_copybutton` extension is available on the server where the website HTML is built. ### Checklist _Before this pull request can be reviewed, all of these tasks should be completed. Denote completed tasks with an `x` inside the square brackets `[ ]` in the Markdown source below:_ - [x] I have added a description (see above). - [x] I have added a link to any related issues see (see above). - [x] I have read the [Contributing Guide](https://github.com/quokka-astro/quokka/blob/development/CONTRIBUTING.md). - [ ] I have added tests for any new physics that this PR adds to the code. - [x] I have tested this PR on my local computer and all tests pass. - [ ] I have manually triggered the GPU tests with the magic comment `/azp run`. - [x] I have requested a reviewer for this PR. --------- Co-authored-by: Ben Wibking <ben@wibking.com>
- Loading branch information