diff --git a/python-scripts/conf.py b/python-scripts/conf.py index 27a655db0..d98ef63f9 100644 --- a/python-scripts/conf.py +++ b/python-scripts/conf.py @@ -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. diff --git a/requirements.txt b/requirements.txt index 0b428da2c..8207c8839 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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