Skip to content

Commit

Permalink
Doc: Sphinx Copybutton and Design (#1461)
Browse files Browse the repository at this point in the history
Add the Sphinx extensions `copybutton` (copy code blocks with
a single click) and `design` (for boxes, tabs, dropdowns, etc.).
  • Loading branch information
ax3l authored Jun 20, 2023
1 parent ef8b999 commit f6b23a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ pygments
recommonmark
scipy
sphinx>=5.3
sphinx-copybutton
sphinx-design
sphinx_rtd_theme>=1.1.1
sphinxcontrib-svg2pdfconverter
sphinxcontrib.programoutput
2 changes: 2 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
# ones.
extensions = ['sphinx.ext.mathjax',
'breathe',
'sphinx_copybutton',
'sphinx_design',
'sphinxcontrib.programoutput',
'sphinxcontrib.rsvgconverter',
'matplotlib.sphinxext.plot_directive']
Expand Down

0 comments on commit f6b23a5

Please sign in to comment.