diff --git a/Makefile b/Makefile index 940cc4005c14..e108f27555d8 100644 --- a/Makefile +++ b/Makefile @@ -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: diff --git a/docs/Doxyfile b/docs/Doxyfile index da127c1e9303..9ceca98e8107 100644 --- a/docs/Doxyfile +++ b/docs/Doxyfile @@ -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 diff --git a/docs/conf.py b/docs/conf.py index d662746ca666..81d6c1c8256f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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 diff --git a/tests/scripts/task_python_docs.sh b/tests/scripts/task_python_docs.sh index 30915a334206..e6025dd58897 100755 --- a/tests/scripts/task_python_docs.sh +++ b/tests/scripts/task_python_docs.sh @@ -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 diff --git a/web/.jsdoc_conf.json b/web/.jsdoc_conf.json new file mode 100644 index 000000000000..33783b3bbb21 --- /dev/null +++ b/web/.jsdoc_conf.json @@ -0,0 +1,7 @@ +{ + "templates": { + "default": { + "includeDate": false + } + } +}