Skip to content
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 for code blocks in documentation #2820

Merged
merged 1 commit into from
Jun 5, 2023

Conversation

jessica-mitchell
Copy link
Contributor

This PR adds an extension that allows code blocks on mouse-over to be copied with a click of a button in Sphinx.

See example here: https://nest-test.readthedocs.io/en/add-copybutton/auto_examples/one_neuron.html

@jessica-mitchell jessica-mitchell added T: Enhancement New functionality, model or documentation S: Normal Handle this with default priority I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) labels Jun 2, 2023
@jessica-mitchell
Copy link
Contributor Author

Merging with 1 reviewer as its doc related

@jessica-mitchell jessica-mitchell merged commit e933cfe into nest:master Jun 5, 2023
@jessica-mitchell jessica-mitchell deleted the add-copybutton branch September 13, 2024 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) S: Normal Handle this with default priority T: Enhancement New functionality, model or documentation
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants