[docs] Add copy and toggle buttons to sphinx (#3054)
* Support sphinx toggle and copy buttons * add buttons to conf
This commit is contained in:
parent
7358d456f3
commit
ee4eae884b
|
@ -96,7 +96,9 @@ extensions = [
|
|||
# 'm2r',
|
||||
'nbsphinx',
|
||||
'sphinx_autodoc_typehints',
|
||||
'sphinx_copybutton',
|
||||
'sphinx_paramlinks',
|
||||
'sphinx_togglebutton',
|
||||
]
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
|
|
|
@ -10,3 +10,5 @@ https://github.com/PyTorchLightning/lightning_sphinx_theme/archive/master.zip#eg
|
|||
# pip_shims
|
||||
sphinx-autodoc-typehints
|
||||
sphinx-paramlinks<0.4.0
|
||||
sphinx-togglebutton
|
||||
sphinx-copybutton
|
||||
|
|
Loading…
Reference in New Issue