mirror of
https://github.com/horizon-rust/horizon-site.git
synced 2026-12-03 19:12:41 +07:00
[PR #6] [MERGED] Docs: links for when WebAssembly code mods are gone (draft, waits for horizon#3371) #11
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
horizon-rust/horizon-site#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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)
e4d0c43Docs: drop the Mod API pages from the navigation, with WebAssembly code mods80b071aMerge 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
Draft until horizon-rust/horizon#3371 is ready. #3371 removes
docs/api/mods.mdanddocs/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, becausenav.jsonlists 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 dropsapi/modsandapi/mods-reference.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-manifestdrops the clause about the Mod API's changelog.coords-hudandruby-contentinmod-codenow point to Horizon's own native mods in horizon-modsnative/and to horizon-native-mod-template;ruby-contentincontent-modsnow points to the content mod template thatcargo horizon-mod newwrites.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.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 ofmods,apisandhow-horizon-is-built. The topics arehorizon-mod-sdk, thewasm32target, capabilities,cargo horizon-mod testand 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.