From 1dacd5b931e365701e1cfb3c8951db4d4c913e1c Mon Sep 17 00:00:00 2001 From: Gavin Uberti Date: Sat, 7 Jan 2023 23:41:40 -0800 Subject: [PATCH 1/2] [docs] Use correct Colab button URL --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 357df8cef12c..3962b00c574a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -153,7 +153,7 @@ def split_code_and_text_blocks(source_file, return_node, real_func): IPYTHON_GITHUB_BASE = "apache/tvm-site/blob/asf-site/docs/_downloads/" # The SVG image of the "Open in Colab" button. -BUTTON = "https://raw.githubusercontent.com/apache/web-data/main/images/utilities/colab_button.svg" +BUTTON = "https://raw.githubusercontent.com/tlc-pack/web-data/main/images/utilities/colab_button.svg" @monkey_patch("sphinx_gallery.gen_rst", "save_rst_example") From 17f82719bb555e7892b82ce225c645181b1c53a2 Mon Sep 17 00:00:00 2001 From: Gavin Uberti Date: Mon, 9 Jan 2023 10:08:03 -0800 Subject: [PATCH 2/2] Black format conf.py --- docs/conf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 3962b00c574a..18c634c05d05 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -153,7 +153,9 @@ def split_code_and_text_blocks(source_file, return_node, real_func): IPYTHON_GITHUB_BASE = "apache/tvm-site/blob/asf-site/docs/_downloads/" # The SVG image of the "Open in Colab" button. -BUTTON = "https://raw.githubusercontent.com/tlc-pack/web-data/main/images/utilities/colab_button.svg" +BUTTON = ( + "https://raw.githubusercontent.com/tlc-pack/web-data/main/images/utilities/colab_button.svg" +) @monkey_patch("sphinx_gallery.gen_rst", "save_rst_example")