Skip to content

Commit

Permalink
Add javadoc build into Jenkins workflow (apache#1909)
Browse files Browse the repository at this point in the history
  • Loading branch information
wweic authored and tqchen committed Oct 17, 2018
1 parent d10db1f commit 8aa1287
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ lint: cpplint pylint jnilint
doc:
doxygen docs/Doxyfile

javadoc:
# build artifact is in jvm/core/target/site/apidocs
cd jvm && mvn javadoc:javadoc

# Cython build
cython:
cd python; python setup.py build_ext --inplace
Expand Down
3 changes: 2 additions & 1 deletion docs/api_links.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
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.

* `C++ doyxgen API <doxygen/index.html>`_
* `Javascript jsdoc API <jsdoc/index.html>`_
* `Java Javadoc API <javadoc/index.html>`_
4 changes: 4 additions & 0 deletions tests/scripts/task_python_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ make doc
jsdoc web/tvm_runtime.js web/README.md || 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

cd docs
Expand Down

0 comments on commit 8aa1287

Please sign in to comment.