Skip to content

Commit

Permalink
Add copybutton extension to RTD #188
Browse files Browse the repository at this point in the history
  • Loading branch information
budiatmadjajaWill committed Dec 7, 2021
1 parent 0c72f70 commit 0c32201
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/rtd/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
# 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.autodoc', 'sphinx.ext.napoleon']
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.napoleon', 'sphinx_copybutton']
autodoc_member_order = 'bysource'

# Add any paths that contain templates here, relative to this directory.
Expand Down
3 changes: 2 additions & 1 deletion doc/rtd/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
sphinx
sphinx_rtd_theme
sphinxcontrib-napoleon
sphinxcontrib-napoleon
sphinx-copybutton

0 comments on commit 0c32201

Please sign in to comment.