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.git


The following commit(s) were added to refs/heads/main by this push:
     new 322298a14d [DOCS] Misc docs fix (#18264)
322298a14d is described below

commit 322298a14d668df77485f263b0423bdfb2f1e7ea
Author: Tianqi Chen <[email protected]>
AuthorDate: Tue Sep 2 06:57:13 2025 -0400

    [DOCS] Misc docs fix (#18264)
    
    This PR provides misc docs fix, updates the requirements of ffi docs
    remove stale webpages from header, update embedding script to allow path.
---
 docs/conf.py                     | 2 --
 docs/download_3rdparty_embeds.py | 4 ++++
 ffi/docs/conf.py                 | 3 +++
 ffi/docs/requirements.txt        | 1 +
 4 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index 60ac4077e8..a1f54c327c 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -507,9 +507,7 @@ header_logo_link = "https://tvm.apache.org/";
 header_links = [
     ("Community", "https://tvm.apache.org/community";),
     ("Download", "https://tvm.apache.org/download";),
-    ("Blog", "https://tvm.apache.org/blog";),
     ("Docs", "https://tvm.apache.org/docs";),
-    ("Conference", "https://tvmconf.org";),
     ("Github", "https://github.com/apache/tvm/";),
 ]
 
diff --git a/docs/download_3rdparty_embeds.py b/docs/download_3rdparty_embeds.py
index b658d82d63..68dfe0662b 100644
--- a/docs/download_3rdparty_embeds.py
+++ b/docs/download_3rdparty_embeds.py
@@ -310,5 +310,9 @@ def download_and_replace_urls(files: Optional[List[str]] = 
None, verbose: bool =
 if __name__ == "__main__":
     args = argparse.ArgumentParser()
     args.add_argument("-v", "--verbose", action="store_true")
+    args.add_argument("-p", "--path", type=str, default=None)
     args = args.parse_args()
+
+    if args.path is not None:
+        HTML_DIR = args.path
     download_and_replace_urls(verbose=args.verbose)
diff --git a/ffi/docs/conf.py b/ffi/docs/conf.py
index 64239487c0..317b58d3f6 100644
--- a/ffi/docs/conf.py
+++ b/ffi/docs/conf.py
@@ -116,6 +116,9 @@ html_title = project
 html_copy_source = True
 html_last_updated_fmt = ""
 
+html_favicon = "https://tvm.apache.org/images/logo/tvm-logo-square.png";
+
+
 footer_dropdown = {
     "name": "ASF",
     "items": [
diff --git a/ffi/docs/requirements.txt b/ffi/docs/requirements.txt
index b7be6f6d62..0d09ef1815 100644
--- a/ffi/docs/requirements.txt
+++ b/ffi/docs/requirements.txt
@@ -1,4 +1,5 @@
 autodocsumm
+linkify-it-py
 matplotlib
 myst-parser
 nbconvert

Reply via email to