Add sphinx copy button (#6694)

* Add sphinx copy button

* Update requirements-doc.txt

Co-authored-by: Robert Nishihara <robertnishihara@gmail.com>
This commit is contained in:
Simon Mo
2020-01-04 19:31:49 -06:00
committed by GitHub
co-authored by Robert Nishihara
parent 816b84808d
commit 6285851743
2 changed files with 13 additions and 7 deletions
+6 -5
View File
@@ -1,26 +1,27 @@
colorama
blist
click
colorama
filelock
flask
flatbuffers
funcsigs
jsonschema
mock
numpy
opencv-python-headless
pandas
pyarrow
pygments
pyyaml
recommonmark
redis
setproctitle
sphinx
sphinx-click
sphinx-copybutton
sphinx-gallery
sphinx-jsonschema
sphinx_rtd_theme
tabulate
pandas
flask
uvicorn
pygments
werkzeug
blist
+7 -2
View File
@@ -72,8 +72,13 @@ sys.path.insert(0, os.path.abspath("../../python/"))
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'sphinx.ext.autodoc', 'sphinx.ext.viewcode', 'sphinx.ext.napoleon',
'sphinx_click.ext', 'sphinx-jsonschema', 'sphinx_gallery.gen_gallery'
'sphinx.ext.autodoc',
'sphinx.ext.viewcode',
'sphinx.ext.napoleon',
'sphinx_click.ext',
'sphinx-jsonschema',
'sphinx_gallery.gen_gallery',
'sphinx_copybutton',
]
sphinx_gallery_conf = {