diff --git a/doc/conf.py b/doc/conf.py index e9d7787576..101ea82a02 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -82,6 +82,7 @@ extensions = [ "zephyr.doxyrunner", "zephyr.vcs_link", "notfound.extension", + "sphinx_copybutton", "zephyr.external_content", ] diff --git a/scripts/requirements-doc.txt b/scripts/requirements-doc.txt index 8a518a69dd..abc92e7041 100644 --- a/scripts/requirements-doc.txt +++ b/scripts/requirements-doc.txt @@ -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