diff --git a/.github/workflows/doc-build.yaml b/.github/workflows/doc-build.yaml index f70973d..35aa915 100644 --- a/.github/workflows/doc-build.yaml +++ b/.github/workflows/doc-build.yaml @@ -21,6 +21,7 @@ jobs: pip install docutils==0.16 pip install pygments==2.11.1 pip install furo==2022.1.2 + pip install sphinx-copybutton pip list build-command: "sphinx-build -b html ./source ../docs" diff --git a/src_docs/source/conf.py b/src_docs/source/conf.py index d0c94b5..bdd4739 100644 --- a/src_docs/source/conf.py +++ b/src_docs/source/conf.py @@ -31,6 +31,7 @@ release = '1.1.0' # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ + 'sphinx_copybutton' ] # Add any paths that contain templates here, relative to this directory.