diff --git a/docs/conf.py b/docs/conf.py index 7244d2d..996a499 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -30,7 +30,7 @@ from subprocess import Popen, PIPE # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. -extensions = ["sphinx.ext.extlinks", "sphinx.ext.autodoc"] +extensions = ["sphinx.ext.extlinks", "sphinx.ext.autodoc", "sphinx_copybutton"] autodoc_member_order = "bysource" autodoc_typehints = "description" diff --git a/setup.py b/setup.py index 51830e3..eafb1ce 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ setup( ], extras_require={ "test": ["pytest", "black", "hypothesis", "cogapp"], - "docs": ["furo", "sphinx-autobuild", "codespell"], + "docs": ["furo", "sphinx-autobuild", "codespell", "sphinx-copybutton"], "mypy": [ "mypy", "types-click",