Skip to content

Commit

Permalink
docs: Add sphinx-copybutton
Browse files Browse the repository at this point in the history
Automatically add a button to all code boxes to copy the contents to the
clipboard.
  • Loading branch information
jmgate committed Sep 19, 2023
1 parent 88860a2 commit 2122825
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

sphinx>=6.0,<7.0
sphinx-autodoc-typehints
sphinx-copybutton
sphinx-rtd-theme
sphinxcontrib-programoutput
sphinxcontrib-spelling
sphinx-rtd-theme
1 change: 1 addition & 0 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"sphinx.ext.napoleon",
"sphinx.ext.viewcode",
"sphinx_autodoc_typehints",
"sphinx_copybutton",
"sphinx_rtd_theme",
"sphinxcontrib.programoutput",
"sphinxcontrib.spelling",
Expand Down

0 comments on commit 2122825

Please sign in to comment.