Skip to content

Commit

Permalink
[DOCS] Minimize necessary doc change
Browse files Browse the repository at this point in the history
  • Loading branch information
tqchen committed Mar 23, 2020
1 parent fdc8b0d commit a46a833
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ doc:

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

# Cython build
cython:
Expand Down
2 changes: 1 addition & 1 deletion docs/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -1165,7 +1165,7 @@ HTML_COLORSTYLE_GAMMA = 80
# The default value is: YES.
# This tag requires that the tag GENERATE_HTML is set to YES.

HTML_TIMESTAMP = YES
HTML_TIMESTAMP = NO

# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
# documentation will contain sections that can be hidden and shown after the
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
# General information about the project.
project = u'tvm'
author = u'Apache Software Foundation'
copyright = u'2019, %s' % author
copyright = u'2020, %s' % author
github_doc_root = 'https://github.com/apache/incubator-tvm/tree/master/docs/'

# add markdown parser
Expand Down
3 changes: 2 additions & 1 deletion tests/scripts/task_python_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@ find . -type f -path "*.log" | xargs rm -f

# C++ doc
make doc
rm -f docs/doxygen/html/*.map docs/doxygen/html/*.md5
mv docs/doxygen docs/_build/html/doxygen

# JS doc
jsdoc web/tvm_runtime.js web/README.md
jsdoc -c web/.jsdoc_conf.json web/tvm_runtime.js web/README.md
mv out docs/_build/html/jsdoc

# Java doc
Expand Down
7 changes: 7 additions & 0 deletions web/.jsdoc_conf.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"templates": {
"default": {
"includeDate": false
}
}
}

0 comments on commit a46a833

Please sign in to comment.