Commit 5bb666f2 by Wei Chen Committed by Tianqi Chen

Add javadoc build into Jenkins workflow (#1909)

parent d5d19449
...@@ -70,6 +70,10 @@ lint: cpplint pylint jnilint ...@@ -70,6 +70,10 @@ lint: cpplint pylint jnilint
doc: doc:
doxygen docs/Doxyfile doxygen docs/Doxyfile
javadoc:
# build artifact is in jvm/core/target/site/apidocs
cd jvm && mvn javadoc:javadoc
# Cython build # Cython build
cython: cython:
cd python; python setup.py build_ext --inplace cd python; python setup.py build_ext --inplace
......
Links to C++ and JS API References Links to API References
================================== ==================================
This page contains links to API references that are build with different doc build system. This page contains links to API references that are build with different doc build system.
* `C++ doyxgen API <doxygen/index.html>`_ * `C++ doyxgen API <doxygen/index.html>`_
* `Javascript jsdoc API <jsdoc/index.html>`_ * `Javascript jsdoc API <jsdoc/index.html>`_
* `Java Javadoc API <javadoc/index.html>`_
...@@ -12,6 +12,10 @@ make doc ...@@ -12,6 +12,10 @@ make doc
jsdoc web/tvm_runtime.js web/README.md || exit -1 jsdoc web/tvm_runtime.js web/README.md || exit -1
mv out docs/_build/html/jsdoc || exit -1 mv out docs/_build/html/jsdoc || exit -1
# Java doc
make javadoc || exit -1
mv jvm/core/target/site/apidocs docs/_build/html/javadoc || exit -1
rm -rf python/tvm/*.pyc python/tvm/*/*.pyc python/tvm/*/*/*.pyc rm -rf python/tvm/*.pyc python/tvm/*/*.pyc python/tvm/*/*/*.pyc
cd docs cd docs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment