-
Notifications
You must be signed in to change notification settings - Fork 52
fix(site): restore generated-site link checks #562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
c73f44e
19c80ac
2aa2a45
36dbf61
d4f0fb5
53c5fb9
5f03fb1
7c2d21e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,5 +5,6 @@ node_modules | |
| .hugo_build.lock | ||
| .idea | ||
| build | ||
| .worktrees/ | ||
| .DS_Store | ||
| changelog/source | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -206,7 +206,7 @@ helm repo update | |
| helm upgrade hami hami-charts/hami -n kube-system | ||
| ``` | ||
|
|
||
| For complete installation documentation, refer to: [https://project-hami.io/docs/installation/online-installation](https://project-hami.io/docs/installation/online-installation) | ||
| For complete installation documentation, refer to: [/docs/installation/online-installation](/docs/installation/online-installation) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win Use descriptive anchor text for these links. The relative targets are fine, but rendering raw paths makes the release note harder to scan. ✏️ Suggested tweak-For complete installation documentation, refer to: [/docs/installation/online-installation](/docs/installation/online-installation)
+For complete installation documentation, refer to the [installation guide](/docs/installation/online-installation)
-Website: [/](/)
+Website: [HAMi homepage](/)
-Documentation: [/docs/](/docs/)
+Documentation: [HAMi docs](/docs/)Also applies to: 242-242, 269-269 🤖 Prompt for AI Agents |
||
|
|
||
| :::warning[Upgrade notes] | ||
|
|
||
|
|
@@ -239,7 +239,7 @@ Since the v2.8.0 release, the HAMi website and documentation have undergone the | |
|
|
||
| Thanks to [@mesutoezdil](https://github.com/mesutoezdil) for contributions to optimizing HAMi official documentation. | ||
|
|
||
| Website: [https://project-hami.io](https://project-hami.io) | ||
| Website: [/](/) | ||
|
|
||
| Website repository: [https://github.com/Project-HAMi/website](https://github.com/Project-HAMi/website) | ||
|
|
||
|
|
@@ -266,6 +266,6 @@ We sincerely welcome more developers, users, and ecosystem partners to join the | |
| - GitHub Release: [https://github.com/Project-HAMi/HAMi/releases/tag/v2.9.0](https://github.com/Project-HAMi/HAMi/releases/tag/v2.9.0) | ||
| - HAMi-DRA: [https://github.com/Project-HAMi/HAMi-DRA](https://github.com/Project-HAMi/HAMi-DRA) | ||
| - Volcano vGPU Device Plugin: [https://github.com/Project-HAMi/volcano-vgpu-device-plugin](https://github.com/Project-HAMi/volcano-vgpu-device-plugin) | ||
| - Documentation: [https://project-hami.io](https://project-hami.io) | ||
| - Documentation: [/docs/](/docs/) | ||
| - Community Discord (recommended): [https://discord.gg/Amhy7XmbNq](https://discord.gg/Amhy7XmbNq) | ||
| - Community CNCF Slack: [https://cloud-native.slack.com/archives/C07T10BU4R2](https://cloud-native.slack.com/archives/C07T10BU4R2) | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,7 +16,7 @@ tags: ["CNCF", "Incubating"] | |
|
|
||
| HAMi 是面向 Kubernetes 的异构算力虚拟化与调度中间件,通过容器级硬隔离精细切分 GPU 显存与算力,让多个工作负载安全共享同一张加速器。项目由 [张潇](https://github.com/wawa0210)、[李孟轩](https://github.com/archlitchi) 等维护者发起,在 CNCF 治理下由全球开发者共建。 | ||
|
|
||
| 今天,HAMi 已被数百家组织采用,覆盖 NVIDIA、昇腾、寒武纪、海光、摩尔线程、燧原、昆仑芯、MetaX、AWS Neuron、Vastai 等十余种加速器(见[支持设备列表](https://project-hami.io/docs/userguide/device-supported)),并以 [CNCF 案例研究](/zh/case-studies)的形式记录了招商银行、SNOW Corp.、蔚来、贝壳、DaoCloud、顺丰科技、PREP EDU 等的落地实践,横跨金融、汽车、出行、物流、教育与云服务。HAMi-core 已与 Kubernetes 默认调度器、[Volcano](https://github.com/volcano-sh/volcano/blob/master/docs/user-guide/how_to_use_gpu_sharing.md)、[Kueue](https://github.com/kubernetes-sigs/kueue)、[Koordinator](https://koordinator.sh/docs/user-manuals/device-scheduling-gpu-share-with-hami) 以及 [KAI Scheduler](/zh/blog/hami-core-adopted-by-nvidia-kai-scheduler) 完成集成。 | ||
| 今天,HAMi 已被数百家组织采用,覆盖 NVIDIA、昇腾、寒武纪、海光、摩尔线程、燧原、昆仑芯、MetaX、AWS Neuron、Vastai 等十余种加速器(见[支持设备列表](/docs/userguide/device-supported)),并以 [CNCF 案例研究](/zh/case-studies)的形式记录了招商银行、SNOW Corp.、蔚来、贝壳、DaoCloud、顺丰科技、PREP EDU 等的落地实践,横跨金融、汽车、出行、物流、教育与云服务。HAMi-core 已与 Kubernetes 默认调度器、[Volcano](https://github.com/volcano-sh/volcano/blob/master/docs/user-guide/how_to_use_gpu_sharing.md)、[Kueue](https://github.com/kubernetes-sigs/kueue)、[Koordinator](https://koordinator.sh/docs/user-manuals/device-scheduling-gpu-share-with-hami) 以及 [KAI Scheduler](/zh/blog/hami-core-adopted-by-nvidia-kai-scheduler) 完成集成。 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Inspect zh blog posts for docs links that may need a /zh/ prefix.
rg -n '\]\(/docs/' i18n/zh/docusaurus-plugin-content-blogRepository: Project-HAMi/website Length of output: 2430 🏁 Script executed: #!/bin/bash
set -euo pipefail
# Inspect site i18n/doc routing config and related zh docs link usage.
git ls-files docusaurus.config.* sidebars.* i18n/zh | sed -n '1,200p'
echo '--- docusaurus config outline ---'
ast-grep outline docusaurus.config.* --view expanded 2>/dev/null || true
echo '--- search for docsRouteBasePath / locale routeBasePath ---'
rg -n 'docsRouteBasePath|routeBasePath|defaultLocale|locales|i18n|/zh/docs|/docs/' docusaurus.config.* i18n/zh -g '!**/node_modules/**'Repository: Project-HAMi/website Length of output: 50377 🏁 Script executed: #!/bin/bash
set -euo pipefail
# Find the exact file listing the docs navigation or localization links.
fd -t f 'docusaurus.config.*|sidebars.*|doc.*' .Repository: Project-HAMi/website Length of output: 1787 🏁 Script executed: #!/bin/bash
set -euo pipefail
echo '--- docusaurus.config.js relevant sections ---'
sed -n '60,90p;210,290p' docusaurus.config.js
echo '--- custom docs plugin outline ---'
ast-grep outline src/plugins/docs/index.js --view expanded 2>/dev/null || true
echo '--- custom docs plugin search ---'
rg -n 'routeBasePath|docsRouteBasePath|currentLocale|/zh/docs|/docs' src/plugins/docs/index.js docusaurus.config.jsRepository: Project-HAMi/website Length of output: 4997 Use the zh docs path here This link sends Chinese readers to the default docs locale; the matching Chinese page exists at 🤖 Prompt for AI Agents |
||
|
|
||
| 这一里程碑离不开全球贡献者与社区的共建:HAMi 至今已汇聚来自几十个国家的近 500 名贡献者。[密瓜智能(Dynamia)](https://www.dynamia.ai)、[DaoCloud](https://www.daocloud.io)、[第四范式](https://www.4paradigm.com)、[NVIDIA](https://www.nvidia.com)、[华为云](https://www.huawei.com),以及众多个人开发者、用户企业与生态伙伴,都作出了不可替代的贡献。 | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Hyphenate “open-source”.
open sourceshould be hyphenated here; it reads better asopen-source.✏️ Suggested tweak
📝 Committable suggestion
🧰 Tools
🪛 LanguageTool
[grammar] ~51-~51: Use a hyphen to join words.
Context: ...geneous accelerators, making it the open source solution with the broadest covera...
(QB_NEW_EN_HYPHEN)
🤖 Prompt for AI Agents
Source: Linters/SAST tools