doc: enable sphinx-copybutton extension

The sphinx-copybutton extension adds a button to every code snippet
that, when clicked, copies the code to the clipboard.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2022-03-25 13:29:37 +01:00 committed by Marti Bolivar
parent dbd31a6a02
commit e9d2cea2a3
2 changed files with 2 additions and 0 deletions

View file

@ -82,6 +82,7 @@ extensions = [
"zephyr.doxyrunner",
"zephyr.vcs_link",
"notfound.extension",
"sphinx_copybutton",
"zephyr.external_content",
]

View file

@ -7,6 +7,7 @@ sphinx-tabs
sphinxcontrib-svg2pdfconverter
pygments>=2.9
sphinx-notfound-page
sphinx-copybutton
# YAML validation. Used by zephyr_module.
PyYAML>=5.1