-
Notifications
You must be signed in to change notification settings - Fork 23
docs: Add copy button to code blocks #1952
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request adds the sphinx-copybutton extension to the documentation, which will add a copy button to code blocks. The changes are straightforward, adding the new dependency and enabling the Sphinx extension. I have one suggestion to improve maintainability by keeping the dependencies in doc/requirements.txt alphabetically sorted, as is the current convention in that file.
7b7a879 to
60fb894
Compare
Also reorder doc/requirements.txt and fix sphinx-substitution-extensions license.
60fb894 to
1bbddaf
Compare
|
/gemini review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
The pull request adds the sphinx-copybutton extension to the documentation build process. This allows users to easily copy code blocks from the documentation. The changes involve adding sphinx-copybutton to the requirements.txt file and including it as an extension in the conf.py file.
Alex-Welsh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice QOL change
No description provided.