tvm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tqc...@apache.org
Subject [incubator-tvm] branch master updated: [DOCS] Minimize necessary doc change (#5129)
Date Mon, 23 Mar 2020 17:44:09 GMT
This is an automated email from the ASF dual-hosted git repository.

tqchen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git


The following commit(s) were added to refs/heads/master by this push:
     new 1405b7b  [DOCS] Minimize necessary doc change (#5129)
1405b7b is described below

commit 1405b7baafc3f726f0df6ef688f4b709c4def693
Author: Tianqi Chen <tqchen@users.noreply.github.com>
AuthorDate: Mon Mar 23 10:44:00 2020 -0700

    [DOCS] Minimize necessary doc change (#5129)
---
 Makefile                          | 2 +-
 docs/Doxyfile                     | 2 +-
 docs/conf.py                      | 2 +-
 tests/scripts/task_python_docs.sh | 3 ++-
 web/.jsdoc_conf.json              | 7 +++++++
 5 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index 940cc40..e108f27 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 da127c1..9ceca98 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 d662746..81d6c1c 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -51,7 +51,7 @@ sys.path.insert(0, os.path.join(curr_path, '../vta/python'))
 # 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 30915a3..e6025dd 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 0000000..33783b3
--- /dev/null
+++ b/web/.jsdoc_conf.json
@@ -0,0 +1,7 @@
+{
+    "templates": {
+        "default": {
+            "includeDate": false
+        }
+    }
+}


Mime
View raw message