docs: add copybutton sphinx extension (#4958)

This commit is contained in:
HArsil 2026-03-17 08:04:59 +05:30 committed by GitHub
parent 6f096c9d03
commit a1f10d9289
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
# primary
furo==2024.8.6
Sphinx==7.0.1
sphinx-copybutton==0.5.2
# dependencies
alabaster==0.7.16

View File

@ -48,7 +48,7 @@ sys.path.insert(0, os.path.abspath('sphinx-plugins'))
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ['manpage']
extensions = ['manpage', 'sphinx_copybutton']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['templates']