Skip to content

Commit

Permalink
Add sphinx copy button (ray-project#6694)
Browse files Browse the repository at this point in the history
* Add sphinx copy button

* Update requirements-doc.txt

Co-authored-by: Robert Nishihara <[email protected]>
  • Loading branch information
simon-mo and robertnishihara authored Jan 5, 2020
1 parent 816b848 commit 6285851
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
11 changes: 6 additions & 5 deletions doc/requirements-doc.txt
Original file line number Diff line number Diff line change
@@ -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
9 changes: 7 additions & 2 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,13 @@
# 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 = {
Expand Down

0 comments on commit 6285851

Please sign in to comment.