Skip to content
Permalink
Browse files

manually order api toc, create separate req for sphinx-doc

  • Loading branch information...
yubozhao committed Jul 10, 2019
1 parent c5922a9 commit 80ea0c589d67bcc6a0e84dd4f78646fbe5f3cc84
Showing with 15 additions and 4 deletions.
  1. +1 −1 .readthedocs.yml
  2. +4 −1 docs/api/index.rst
  3. +10 −2 setup.py
@@ -23,4 +23,4 @@ python:
- method: pip
path: .
extra_requirements:
- dev
- doc_builder
@@ -4,5 +4,8 @@ API Reference
.. toctree::
:glob:

*
bentoml
artifacts
handlers
exceptions

@@ -76,18 +76,26 @@
"black",
"setuptools",
"gitpython>=2.0.2",
] + tests_require

sphinx_requires = [
"sphinx",
"sphinx-click",
"sphinx_rtd_theme",
"sphinxcontrib-fulltoc",
] + tests_require
]

doc_builder_requires = (sphinx_requires + install_requires)

dev_all = install_requires + dev_requires + optional_requires
dev_all = (
install_requires + dev_requires + optional_requires + sphinx_requires
)

extras_require = {
"all": dev_all,
"api_server": api_server,
"dev": dev_requires,
"doc_builder": doc_builder_requires,
"pytorch": pytorch,
"tensorflow": tensorflow,
"imageio": imageio,

0 comments on commit 80ea0c5

Please sign in to comment.
You can’t perform that action at this time.