Doc: Add copy button to the right of codeblocks
This commit is contained in:
parent
e260498776
commit
ba462c9526
|
@ -14,7 +14,7 @@ release = '1.0'
|
||||||
# -- General configuration ---------------------------------------------------
|
# -- General configuration ---------------------------------------------------
|
||||||
# https://www.sphinx-doc.org/en/master/usage/configuration.html#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']
|
templates_path = ['_templates']
|
||||||
exclude_patterns = ['_build']
|
exclude_patterns = ['_build']
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
sphinx
|
sphinx
|
||||||
sphinx-rtd-theme
|
sphinx-rtd-theme
|
||||||
sphinx-rtd-dark-mode
|
sphinx-rtd-dark-mode
|
||||||
myst-parser
|
|
||||||
sphinx_markdown_builder
|
# Adds a 'copy' button to the right of codeblocks.
|
||||||
|
sphinx-copybutton
|
||||||
|
|
Loading…
Reference in New Issue