Doc: Add copy button to the right of codeblocks

This commit is contained in:
Serhii Snitsaruk 2024-03-02 13:15:17 +01:00
parent e260498776
commit ba462c9526
2 changed files with 4 additions and 3 deletions

View File

@ -14,7 +14,7 @@ release = '1.0'
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = ['myst_parser', 'sphinx_markdown_builder', 'sphinx_rtd_dark_mode']
extensions = ['sphinx_rtd_dark_mode', 'sphinx_copybutton']
templates_path = ['_templates']
exclude_patterns = ['_build']

View File

@ -1,5 +1,6 @@
sphinx
sphinx-rtd-theme
sphinx-rtd-dark-mode
myst-parser
sphinx_markdown_builder
# Adds a 'copy' button to the right of codeblocks.
sphinx-copybutton