Add copy button to code snippets in documentation

This commit is contained in:
tornikeo 2022-02-22 13:49:48 +04:00
parent a65841f5db
commit 6423741db0
2 changed files with 2 additions and 0 deletions

View File

@ -70,6 +70,7 @@ extensions = [
'sphinx_autodoc_typehints',
'myst_nb',
"sphinx_remove_toctrees",
'sphinx_copybutton',
'jax_extensions',
]

View File

@ -5,6 +5,7 @@ sphinx-book-theme
sphinx-remove-toctrees
# Newer versions cause issues; see https://github.com/google/jax/pull/6449
sphinx-autodoc-typehints==1.11.1
sphinx-copybutton>=0.5.0
jupyter-sphinx>=0.3.2
myst-nb