Skip to content

Commit

Permalink
Trying different checklinks.
Browse files Browse the repository at this point in the history
  • Loading branch information
MaanavD committed Dec 10, 2024
1 parent e220f26 commit 8b5e423
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions .github/workflows/check-website-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,24 @@ jobs:
rm -rf ./_site/src
- name: Check for broken links
uses: chabad360/htmlproofer@master
uses: anishathalye/proof-html@v2
with:
directory: "./_site"
# The directory to scan
arguments: --no-check_external_hash --assume_extension --only_4xx --ignore_status_codes 429,403,999 --allow_missing_href --allow_hash_href --checks 'Links' --ignore_urls "https://linkedin.com,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
# The arguments to pass to HTMLProofer
directory: ./_site
enforce_https: false
ignore_empty_alt: true
ignore_url: |
https://linkedin.com
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
# swap_urls: |
# {"^https://www.anishathalye.com/": "/"}
# uses: chabad360/htmlproofer@master
# with:
# directory: "./_site"
# # The directory to scan
# arguments: --no-check_external_hash --assume_extension --only_4xx --ignore_status_codes 429,403,999 --allow_missing_href --allow_hash_href --checks 'Links' --ignore_urls "https://linkedin.com,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
# # The arguments to pass to HTMLProofer

0 comments on commit 8b5e423

Please sign in to comment.