Add copy button in the documentation code snippets (#840)

This commit is contained in:
Faizan Alam
2023-05-27 17:00:02 +05:30
committed by GitHub
parent 390c1cdd9f
commit ca82a4b1df
2 changed files with 2 additions and 0 deletions

View File

@@ -45,6 +45,7 @@ extensions = [
'sphinx.ext.napoleon',
'sphinx.ext.imgconverter',
'IPython.sphinxext.ipython_console_highlighting',
'sphinx_copybutton',
]
# Add any paths that contain templates here, relative to this directory.

View File

@@ -2,3 +2,4 @@ sphinx == 4.3.2 # For sphinx documentation
sphinx_rtd_theme == 1.0.0
IPython == 8.10.0 # For sphinx documentation
sphinxcontrib-napoleon == 0.7 # For auto doc
sphinx-copybutton