[DOC]: 7 dead external links in samples/*/README.md fail pre-commit run --all-files (lychee 404s)

未關閉
#3,075 0 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

維護者通常 1 天內回覆

@lijinf2 已經在處理了。

開始於 2026年10月12日。

評估

這個 Issue 還沒有評估資料。

描述

documentation

Description

pre-commit run --all-files on main fails the lychee link-checker hook with 7 dead external links (confirmed via curl, all return 404) across 6 sample README.md files. These are permanent 404s, not the transient flakiness tracked in #2652.

Steps to Reproduce

git clone [email protected]:NVIDIA/cuda-python.git && cd cuda-python
pre-commit run --all-files

Lychee Output

Issues found in 7 inputs. Find details below.

[samples/cuda_bindings/3_CUDA_Features/globalToShmemAsyncCopy/README.md]:
   [404] https://nvidia.github.io/libcudacxx/extended_api/asynchronous_operations/memcpy_async.html (at 116:3) | Rejected status code: 404 Not Found
   [404] https://nvidia.github.io/libcudacxx/extended_api/synchronization_primitives/pipeline.html (at 117:3) | Rejected status code: 404 Not Found

[samples/cuda_core/binarySearch/README.md]:
   [404] https://nvidia.github.io/cccl/python.html (at 32:3) | Rejected status code: 404 Not Found

[samples/cuda_core/cudaComputeLambdas/README.md]:
   [404] https://nvidia.github.io/cccl/python.html (at 33:3) | Rejected status code: 404 Not Found

[samples/cuda_core/launchConfigTuning/README.md]:
   [404] https://docs.nvidia.com/cuda/cuda-occupancy-calculator/ (at 186:3) | Rejected status code: 404 Not Found

[samples/cuda_core/pageRank/README.md]:
   [404] https://rapids.ai/start.html (at 184:3) | Rejected status code: 404 Not Found

[samples/cuda_core/simplePrint/README.md]:
   [404] https://github.com/NVIDIA/cuda-samples/tree/master/Samples/0_Introduction/simplePrintf (at 263:3) | Rejected status code: 404 Not Found

[samples/cuda_core/tmaTensorMap/README.md]:
   [404] https://nvidia.github.io/cccl/libcudacxx/extended_api/synchronization_primitives/barrier.html (at 138:3) | Rejected status code: 404 Not Found

🔍 927 Total (in 1s 74ms) 🔗 559 Unique ✅ 912 OK 🚫 8 Errors 👻 6 Excluded ⛔ 1 Unsupported

Notes

  • Not a duplicate of #2429 (different link, cuda.coop) or #2652 (transient-failure infra, not these permanent 404s).
  • lychee.toml has no exclude entries for any of these URLs.
主要語言
Cython
星號
3.4k
分支
353
平均合併
2 天 3 小時
30 天內合併 PR
163

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

NVIDIA/cuda-python 的其他 Issue

查看 NVIDIA/cuda-python 的全部 Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。