[PR #6] [MERGED] Docs: links for when WebAssembly code mods are gone (draft, waits for horizon#3371) #11

Closed
opened 2026-11-03 04:02:21 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon-site/pull/6
Author: @ludovic111
Created: 10/29/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @ludovic111

Base: main ← Head: fix/links-after-wasm-mods


📝 Commits (2)

  • e4d0c43 Docs: drop the Mod API pages from the navigation, with WebAssembly code mods
  • 80b071a Merge docs/mods-pages-two-kinds into fix/links-after-wasm-mods

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 docs/nav.json (+1 -1)

📄 Description

🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself.

Draft until horizon-rust/horizon#3371 is ready. #3371 removes docs/api/mods.md and docs/api/mods-reference.md. Its stack (#3351) deletes the SDK's examples.

Without this PR, the site's next build after #3371 merges fails: ENOENT … docs/api/mods.md, because nav.json lists the page. A failed build keeps the old deployment live, but nothing deploys after that.

Changes (8 files, 9 lines)

  • docs/nav.json: the API reference drops api/mods and api/mods-reference.
  • The 9 internal links to them (index, apis, mods, make-a-mod ×3, mod-manifest, mod-code) point to Horizon's native mods page and its hook points section instead. mod-manifest drops the clause about the Mod API's changelog.
  • The 2 links to the SDK's examples:
    • coords-hud and ruby-content in mod-code now point to Horizon's own native mods in horizon-mods native/ and to horizon-native-mod-template;
    • ruby-content in content-mods now points to the content mod template that cargo horizon-mod new writes.

Checks

  • HORIZON_CHECKOUT=<#3371's head 7d43179> node build.mjs: builds (29 docs pages). Without this PR it fails as above, then with 9 broken links.
  • HORIZON_CHECKOUT=<main> node build.mjs: builds. So this can merge before or after #3371, but it hides the Mod API pages, so it waits for it.
  • node --test src/ scripts/: 48 passed.
  • Every GitHub link from the site into Horizon was checked against #3371's head. Only the two example links broke.

Not in this PR (needs a decision)

The "Make a mod" group still teaches WebAssembly code mods once #3371 merges: make-a-mod, mod-manifest, mod-code, test-a-mod, publish-a-mod, and parts of mods, apis and how-horizon-is-built. The topics are horizon-mod-sdk, the wasm32 target, capabilities, cargo horizon-mod test and the sandbox. Those pages need a rewrite for native mods and content mods, which is a bigger change than links.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon-site/pull/6 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/29/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/links-after-wasm-mods` --- ### 📝 Commits (2) - [`e4d0c43`](https://github.com/horizon-rust/horizon-site/commit/e4d0c434b254aaa19eb914c681366385ca18b2ae) Docs: drop the Mod API pages from the navigation, with WebAssembly code mods - [`80b071a`](https://github.com/horizon-rust/horizon-site/commit/80b071aa8a3605dce3d9d5959a3438bf67adea17) Merge docs/mods-pages-two-kinds into fix/links-after-wasm-mods ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/nav.json` (+1 -1) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. **Draft until horizon-rust/horizon#3371 is ready.** #3371 removes `docs/api/mods.md` and `docs/api/mods-reference.md`. Its stack (#3351) deletes the SDK's examples. Without this PR, the site's next build after #3371 merges fails: `ENOENT … docs/api/mods.md`, because `nav.json` lists the page. A failed build keeps the old deployment live, but nothing deploys after that. ## Changes (8 files, 9 lines) - `docs/nav.json`: the API reference drops `api/mods` and `api/mods-reference`. - The 9 internal links to them (`index`, `apis`, `mods`, `make-a-mod` ×3, `mod-manifest`, `mod-code`) point to Horizon's [native mods](https://github.com/horizon-rust/horizon/blob/main/docs/native-mods.md) page and its hook points section instead. `mod-manifest` drops the clause about the Mod API's changelog. - The 2 links to the SDK's examples: - `coords-hud` and `ruby-content` in `mod-code` now point to Horizon's own native mods in horizon-mods `native/` and to horizon-native-mod-template; - `ruby-content` in `content-mods` now points to the content mod template that `cargo horizon-mod new` writes. ## Checks - `HORIZON_CHECKOUT=<#3371's head 7d43179> node build.mjs`: builds (29 docs pages). Without this PR it fails as above, then with 9 broken links. - `HORIZON_CHECKOUT=<main> node build.mjs`: builds. So this can merge before or after #3371, but it hides the Mod API pages, so it waits for it. - `node --test src/ scripts/`: 48 passed. - Every GitHub link from the site into Horizon was checked against #3371's head. Only the two example links broke. ## Not in this PR (needs a decision) The "Make a mod" group still teaches WebAssembly code mods once #3371 merges: `make-a-mod`, `mod-manifest`, `mod-code`, `test-a-mod`, `publish-a-mod`, and parts of `mods`, `apis` and `how-horizon-is-built`. The topics are `horizon-mod-sdk`, the `wasm32` target, capabilities, `cargo horizon-mod test` and the sandbox. Those pages need a rewrite for native mods and content mods, which is a bigger change than links. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:02:21 +07:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon-site#11
No description provided.