-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "copy" button to the sphinx documentation page. #609
Conversation
…okka-astro/quokka into chongchong/sphinx-copy-button
…okka-astro/quokka into chongchong/sphinx-copy-button
…okka-astro/quokka into chongchong/sphinx-copy-button
You can install additional any pip packages that you need to build the docs by editing this file: |
OK, that helps. Now every check should pass and it's ready for your review. @BenWibking |
I don't think the docs render correctly. You can take a look at the output here (click to download the "github-pages" artifact): https://github.com/quokka-astro/quokka/actions/runs/8717957314?pr=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 thesphinx_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:/azp run
.