Skip to content

Commit

Permalink
docs: add copy button to code
Browse files Browse the repository at this point in the history
  • Loading branch information
denehoffman committed Nov 19, 2024
1 parent 1b2bc4b commit cf6260c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
laddu
sphinx==8.1.3
sphinx-rtd-theme==3.0.1
sphinx-copybutton==0.5.2
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

extensions = ["sphinx.ext.autodoc", "sphinx.ext.autosummary", "sphinx.ext.napoleon"]
extensions = ["sphinx.ext.autodoc", "sphinx.ext.autosummary", "sphinx.ext.napoleon", "sphinx_copybutton"]

autodoc_default_options = {
"members": True,
Expand Down

0 comments on commit cf6260c

Please sign in to comment.