This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm-site.git
The following commit(s) were added to refs/heads/main by this push:
new 754d6a77a37 Preserve independently published TIRx documentation (#71)
754d6a77a37 is described below
commit 754d6a77a37bf2adbb109105730463ac4d89d250
Author: Tianqi Chen <[email protected]>
AuthorDate: Fri Oct 16 12:32:43 2026 -0400
Preserve independently published TIRx documentation (#71)
---
_config.yml | 2 ++
scripts/task_deploy_asf_site.sh | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/_config.yml b/_config.yml
index ac8212818ad..9ffd44bc7eb 100644
--- a/_config.yml
+++ b/_config.yml
@@ -17,6 +17,8 @@ exclude: [".rvmrc",
"website.tgz",
"docs.tgz",
"docs",
+ "ffi",
+ "tirx",
"serve_local.sh"]
highlighter: rouge
diff --git a/scripts/task_deploy_asf_site.sh b/scripts/task_deploy_asf_site.sh
index 28d49107960..1df538e02c1 100755
--- a/scripts/task_deploy_asf_site.sh
+++ b/scripts/task_deploy_asf_site.sh
@@ -13,8 +13,8 @@ cp .asf.yaml .asf.yaml.bak
git fetch
git checkout -B asf-site origin/asf-site
-# remove all existing files, excluding the docs and ffi
-git ls-files | grep -v -e ^docs -e ^ffi | xargs rm -rf
+# Preserve independently published documentation.
+git ls-files -z -- . ':!:docs' ':!:ffi' ':!:tirx' | xargs -0 -r rm -rf
cp .gitignore.bak .gitignore
cp .asf.yaml.bak .asf.yaml