diff --git a/docs/requirements.txt b/docs/requirements.txt index 0319b3087..dce5387bc 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,6 +1,7 @@ # primary furo==2024.8.6 Sphinx==7.0.1 +sphinx-copybutton==0.5.2 # dependencies alabaster==0.7.16 diff --git a/docs/src/conf.py b/docs/src/conf.py index 354759a23..ffdbedf8e 100644 --- a/docs/src/conf.py +++ b/docs/src/conf.py @@ -48,7 +48,7 @@ sys.path.insert(0, os.path.abspath('sphinx-plugins')) # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. -extensions = ['manpage'] +extensions = ['manpage', 'sphinx_copybutton'] # Add any paths that contain templates here, relative to this directory. templates_path = ['templates']