Skip to content

Commit

Permalink
Merge pull request #88 from datalad/sphinxcopy
Browse files Browse the repository at this point in the history
Add `sphinx_copybutton` extension to allow copying code in docs
  • Loading branch information
adswa authored Oct 10, 2023
2 parents 3faf449 + cde421e commit 793c554
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
'sphinx.ext.inheritance_diagram',
'sphinx.ext.viewcode',
'sphinx.ext.napoleon',
'sphinx_copybutton',
]

# for the module reference
Expand Down
3 changes: 3 additions & 0 deletions requirements-devel.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
pytest
pytest-cov
coverage

# requirements for a document building
sphinx
sphinx_rtd_theme
sphinx_copybutton

0 comments on commit 793c554

Please sign in to comment.