Skip to content

Commit

Permalink
Add extension for copying code blocks with just one click (#4951)
Browse files Browse the repository at this point in the history
Add the sphinx-copybutton extension to get this functionality for code blocks.
  • Loading branch information
big-r81 committed Jan 6, 2024
1 parent 5f2ddef commit 99cce48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ Sphinx==7.2.6
sphinx-rtd-theme==2.0.0
sphinxcontrib-httpdomain==1.8.1
sphinxcontrib-jquery==4.1
sphinx-copybutton==0.5.2
1 change: 1 addition & 0 deletions src/docs/src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"sphinx.ext.extlinks",
"sphinxcontrib.httpdomain",
"sphinxcontrib.jquery",
"sphinx_copybutton",
"configdomain",
]

Expand Down

0 comments on commit 99cce48

Please sign in to comment.