From dc73981b67ee18f34710eba04f69756f4ef5b6ff Mon Sep 17 00:00:00 2001 From: "Nat Kershaw (MSFT)" Date: Mon, 30 Oct 2023 11:17:52 -0700 Subject: [PATCH 1/7] Update check-website-links.yml --- .github/workflows/check-website-links.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-website-links.yml b/.github/workflows/check-website-links.yml index bdff6b7c5f723..e463bd4abd9f6 100644 --- a/.github/workflows/check-website-links.yml +++ b/.github/workflows/check-website-links.yml @@ -39,4 +39,4 @@ jobs: - name: Check for broken links run: | - bundle exec htmlproofer --assume_extension --checks_to_ignore ImageCheck,ScriptCheck --only_4xx --http_status_ignore 429,403 --allow_hash_href --url_ignore "https://onnxruntime.ai/docs/reference/api/c-api.html,https://www.onnxruntime.ai/docs/reference/execution-providers/TensorRT-ExecutionProvider.html#c-api-example,https://www.onnxruntime.ai/docs/resources/graph-optimizations.html,onnxruntime/capi/onnxruntime_pybind11_state.html,https://github.com/microsoft/onnx-converters-private/issues/new/choose,https://aka.ms/onnx/exportissue,%sveltekit.assets%/favicon.ico,https://onnxruntime.ai/getting-started, https://aka.ms/onnx/board" --log-level :info ./_site + bundle exec htmlproofer --assume_extension --checks_to_ignore ImageCheck,ScriptCheck --only_4xx --http_status_ignore 429,403 --allow_hash_href --url_ignore "https://onnxruntime.ai/docs/reference/api/c-api.html,https://www.onnxruntime.ai/docs/reference/execution-providers/TensorRT-ExecutionProvider.html#c-api-example,https://www.onnxruntime.ai/docs/resources/graph-optimizations.html,onnxruntime/capi/onnxruntime_pybind11_state.html,https://github.com/microsoft/onnx-converters-private/issues/new/choose,https://aka.ms/onnx/exportissue,%sveltekit.assets%/favicon.ico,https://onnxruntime.ai/getting-started,https://aka.ms/onnx/board" --log-level :info ./_site From ebb114757c79fadc0d133cb18836633f672678c2 Mon Sep 17 00:00:00 2001 From: Maanav Dalal Date: Mon, 30 Oct 2023 11:30:37 -0700 Subject: [PATCH 2/7] Update check-website-links.yml We can now remove onnxruntime.ai/getting-started, as that link is now active. --- .github/workflows/check-website-links.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-website-links.yml b/.github/workflows/check-website-links.yml index e463bd4abd9f6..cde7494fca451 100644 --- a/.github/workflows/check-website-links.yml +++ b/.github/workflows/check-website-links.yml @@ -39,4 +39,4 @@ jobs: - name: Check for broken links run: | - bundle exec htmlproofer --assume_extension --checks_to_ignore ImageCheck,ScriptCheck --only_4xx --http_status_ignore 429,403 --allow_hash_href --url_ignore "https://onnxruntime.ai/docs/reference/api/c-api.html,https://www.onnxruntime.ai/docs/reference/execution-providers/TensorRT-ExecutionProvider.html#c-api-example,https://www.onnxruntime.ai/docs/resources/graph-optimizations.html,onnxruntime/capi/onnxruntime_pybind11_state.html,https://github.com/microsoft/onnx-converters-private/issues/new/choose,https://aka.ms/onnx/exportissue,%sveltekit.assets%/favicon.ico,https://onnxruntime.ai/getting-started,https://aka.ms/onnx/board" --log-level :info ./_site + bundle exec htmlproofer --assume_extension --checks_to_ignore ImageCheck,ScriptCheck --only_4xx --http_status_ignore 429,403 --allow_hash_href --url_ignore "https://onnxruntime.ai/docs/reference/api/c-api.html,https://www.onnxruntime.ai/docs/reference/execution-providers/TensorRT-ExecutionProvider.html#c-api-example,https://www.onnxruntime.ai/docs/resources/graph-optimizations.html,onnxruntime/capi/onnxruntime_pybind11_state.html,https://github.com/microsoft/onnx-converters-private/issues/new/choose,https://aka.ms/onnx/exportissue, %sveltekit.assets%/favicon.ico, https://aka.ms/onnx/board" --log-level :info ./_site From dad59f5464aa85844eb89f436f5c8594774fe68d Mon Sep 17 00:00:00 2001 From: Maanav Dalal Date: Mon, 30 Oct 2023 11:37:22 -0700 Subject: [PATCH 3/7] Removed spaces (again) --- .github/workflows/check-website-links.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-website-links.yml b/.github/workflows/check-website-links.yml index cde7494fca451..1b7e9716d0cd4 100644 --- a/.github/workflows/check-website-links.yml +++ b/.github/workflows/check-website-links.yml @@ -39,4 +39,4 @@ jobs: - name: Check for broken links run: | - bundle exec htmlproofer --assume_extension --checks_to_ignore ImageCheck,ScriptCheck --only_4xx --http_status_ignore 429,403 --allow_hash_href --url_ignore "https://onnxruntime.ai/docs/reference/api/c-api.html,https://www.onnxruntime.ai/docs/reference/execution-providers/TensorRT-ExecutionProvider.html#c-api-example,https://www.onnxruntime.ai/docs/resources/graph-optimizations.html,onnxruntime/capi/onnxruntime_pybind11_state.html,https://github.com/microsoft/onnx-converters-private/issues/new/choose,https://aka.ms/onnx/exportissue, %sveltekit.assets%/favicon.ico, https://aka.ms/onnx/board" --log-level :info ./_site + bundle exec htmlproofer --assume_extension --checks_to_ignore ImageCheck,ScriptCheck --only_4xx --http_status_ignore 429,403 --allow_hash_href --url_ignore "https://onnxruntime.ai/docs/reference/api/c-api.html,https://www.onnxruntime.ai/docs/reference/execution-providers/TensorRT-ExecutionProvider.html#c-api-example,https://www.onnxruntime.ai/docs/resources/graph-optimizations.html,onnxruntime/capi/onnxruntime_pybind11_state.html,https://github.com/microsoft/onnx-converters-private/issues/new/choose,https://aka.ms/onnx/exportissue,%sveltekit.assets%/favicon.ico,https://aka.ms/onnx/board" --log-level :info ./_site From e855ffd590724bfca292049e2d5fa9f9d94957c2 Mon Sep 17 00:00:00 2001 From: Maanav Dalal Date: Mon, 30 Oct 2023 12:27:17 -0700 Subject: [PATCH 4/7] Attempting to remove %sveltekit.assets%/favicon.ico to see what happens --- .github/workflows/check-website-links.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-website-links.yml b/.github/workflows/check-website-links.yml index 1b7e9716d0cd4..4abe14bec902f 100644 --- a/.github/workflows/check-website-links.yml +++ b/.github/workflows/check-website-links.yml @@ -39,4 +39,4 @@ jobs: - name: Check for broken links run: | - bundle exec htmlproofer --assume_extension --checks_to_ignore ImageCheck,ScriptCheck --only_4xx --http_status_ignore 429,403 --allow_hash_href --url_ignore "https://onnxruntime.ai/docs/reference/api/c-api.html,https://www.onnxruntime.ai/docs/reference/execution-providers/TensorRT-ExecutionProvider.html#c-api-example,https://www.onnxruntime.ai/docs/resources/graph-optimizations.html,onnxruntime/capi/onnxruntime_pybind11_state.html,https://github.com/microsoft/onnx-converters-private/issues/new/choose,https://aka.ms/onnx/exportissue,%sveltekit.assets%/favicon.ico,https://aka.ms/onnx/board" --log-level :info ./_site + bundle exec htmlproofer --assume_extension --checks_to_ignore ImageCheck,ScriptCheck --only_4xx --http_status_ignore 429,403 --allow_hash_href --url_ignore "https://onnxruntime.ai/docs/reference/api/c-api.html,https://www.onnxruntime.ai/docs/reference/execution-providers/TensorRT-ExecutionProvider.html#c-api-example,https://www.onnxruntime.ai/docs/resources/graph-optimizations.html,onnxruntime/capi/onnxruntime_pybind11_state.html,https://github.com/microsoft/onnx-converters-private/issues/new/choose,https://aka.ms/onnx/exportissue,https://aka.ms/onnx/board" --log-level :info ./_site From a930caecfc86aa60a68a27ac2cfa70e0fac21e01 Mon Sep 17 00:00:00 2001 From: Maanav Dalal Date: Mon, 30 Oct 2023 12:47:41 -0700 Subject: [PATCH 5/7] Checking contents of _site --- .github/workflows/check-website-links.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/check-website-links.yml b/.github/workflows/check-website-links.yml index 4abe14bec902f..cd170b62911fe 100644 --- a/.github/workflows/check-website-links.yml +++ b/.github/workflows/check-website-links.yml @@ -36,6 +36,7 @@ jobs: - name: Move site into place run: | sudo mv ./build/* ./_site + ls ./_site - name: Check for broken links run: | From 43b9899f1c4bba82e67772c81cba0602b8fc4f05 Mon Sep 17 00:00:00 2001 From: Maanav Dalal Date: Mon, 30 Oct 2023 13:43:28 -0700 Subject: [PATCH 6/7] Trying again with src. --- .github/workflows/check-website-links.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-website-links.yml b/.github/workflows/check-website-links.yml index cd170b62911fe..3f51420043784 100644 --- a/.github/workflows/check-website-links.yml +++ b/.github/workflows/check-website-links.yml @@ -36,7 +36,7 @@ jobs: - name: Move site into place run: | sudo mv ./build/* ./_site - ls ./_site + ls ./_site/src - name: Check for broken links run: | From 53d92cc391eaa59666ca0f7854d15018cef7a5a8 Mon Sep 17 00:00:00 2001 From: Maanav Dalal Date: Mon, 30 Oct 2023 13:46:23 -0700 Subject: [PATCH 7/7] Removing src folder entirely. --- .github/workflows/check-website-links.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-website-links.yml b/.github/workflows/check-website-links.yml index 3f51420043784..6726ddb16a51d 100644 --- a/.github/workflows/check-website-links.yml +++ b/.github/workflows/check-website-links.yml @@ -36,7 +36,7 @@ jobs: - name: Move site into place run: | sudo mv ./build/* ./_site - ls ./_site/src + rm -rf ./_site/src - name: Check for broken links run: |