Skip to content

Commit

Permalink
style(conf): enable sphinx-copybutton
Browse files Browse the repository at this point in the history
Add sphinx-copybutton, a small sphinx extension
to add a "copy" button to code blocks.

Signed-off-by: Chirag Shilwant <[email protected]>
  • Loading branch information
cshilwant committed Nov 1, 2024
1 parent 8009938 commit cf40654
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python-scripts/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
'sphinx.ext.mathjax',
'sphinx.ext.ifconfig',
'sphinx_rtd_theme',
'sphinx_tabs.tabs'
'sphinx_tabs.tabs',
'sphinx_copybutton'
]

# Add any paths that contain templates here, relative to this directory.
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Pygments==2.11.2
requests==2.31.0
snowballstemmer==2.2.0
Sphinx==4.3.2
sphinx-copybutton==0.5.2
sphinx-tabs==3.4.5
sphinx-rtd-theme==1.0.0
sphinxcontrib-applehelp==1.0.2
Expand Down

0 comments on commit cf40654

Please sign in to comment.