sphinx-copybutton extension, closes #436

This commit is contained in:
Simon Willison 2022-05-20 14:57:26 -07:00
commit 2238e9baf9
2 changed files with 2 additions and 2 deletions

View file

@ -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"