[PR #9] [MERGED] Make a mod: content mods, testing and publishing for the two kinds #12

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/9
Author: @ludovic111
Created: 10/29/2026
Status: ✅ Merged
Merged: 10/29/2026
Merged by: @ludovic111

Base: main ← Head: docs/content-test-publish


📝 Commits (2)

  • 44f2a68 Make a mod: content mods, testing and publishing for the two kinds
  • cbb148c Merge docs/make-a-native-mod into docs/content-test-publish

📊 Changes

4 files changed (+99 additions, -48 deletions)

View changed files

📝 docs/content-mods.md (+25 -6)
📝 docs/mod-manifest.md (+2 -2)
📝 docs/publish-a-mod.md (+25 -12)
📝 docs/test-a-mod.md (+47 -28)

📄 Description

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

Second of three stacked PRs (on #8) rewriting "Make a mod" for content and native mods.

  • Content mods: the manifest moves here, as its own section with every key (the old manifest page is now native mods' bundle). Gone: the SDK's ruby-content link (that example goes away with horizon#3371; the ruby layout stays as an illustration), mod.wasm, and "a mod can have both code and content" (build refuses a Cargo.toml after #3371). The dev mod is explained in place (Game arguments, --dev-mod, cargo horizon-mod run), with cargo install of the tool. cargo horizon-mod new --template content and build/check work the same on Horizon main and on #3371.
  • Test a mod: native mods (unit tests, native.py check on the tested commit, on --horizon latest and with other mods, native.py build, native-build, what to try in the game); content mods (dev mod, log, what to try); cargo horizon-mod check on a .hmod or .hnmod.
  • Publish a mod: "Package a native mod" (native.py package: a reproducible .hnmod, pins checked); signing with a .hnmod; the form with a native mod; a native mod's review (every line, every version).
  • Restores the two anchors #8 left out until these sections existed.

The form's native mod kind and .hnmod file come with #7.

Checks

  • HORIZON_CHECKOUT=<horizon main> node build.mjs: built.
  • node --test src/ scripts/: 48 pass.

🤖 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/9 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/29/2026 **Status:** ✅ Merged **Merged:** 10/29/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `docs/content-test-publish` --- ### 📝 Commits (2) - [`44f2a68`](https://github.com/horizon-rust/horizon-site/commit/44f2a68815eba62d44603c1b2ba4106cf0c9633b) Make a mod: content mods, testing and publishing for the two kinds - [`cbb148c`](https://github.com/horizon-rust/horizon-site/commit/cbb148c6954a51d4abbf5179685c05edcf36b343) Merge docs/make-a-native-mod into docs/content-test-publish ### 📊 Changes **4 files changed** (+99 additions, -48 deletions) <details> <summary>View changed files</summary> 📝 `docs/content-mods.md` (+25 -6) 📝 `docs/mod-manifest.md` (+2 -2) 📝 `docs/publish-a-mod.md` (+25 -12) 📝 `docs/test-a-mod.md` (+47 -28) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Second of three stacked PRs (on #8) rewriting "Make a mod" for content and native mods. - **Content mods:** the manifest moves here, as its own section with every key (the old manifest page is now native mods' bundle). Gone: the SDK's `ruby-content` link (that example goes away with horizon#3371; the ruby layout stays as an illustration), `mod.wasm`, and "a mod can have both code and content" (`build` refuses a `Cargo.toml` after #3371). The dev mod is explained in place (Game arguments, `--dev-mod`, `cargo horizon-mod run`), with `cargo install` of the tool. `cargo horizon-mod new --template content` and `build`/`check` work the same on Horizon main and on #3371. - **Test a mod:** native mods (unit tests, `native.py check` on the tested commit, on `--horizon latest` and with other mods, `native.py build`, `native-build`, what to try in the game); content mods (dev mod, log, what to try); `cargo horizon-mod check` on a `.hmod` or `.hnmod`. - **Publish a mod:** "Package a native mod" (`native.py package`: a reproducible `.hnmod`, pins checked); signing with a `.hnmod`; the form with a native mod; a native mod's review (every line, every version). - Restores the two anchors #8 left out until these sections existed. The form's native mod kind and `.hnmod` file come with #7. ## Checks - `HORIZON_CHECKOUT=<horizon main> node build.mjs`: built. - `node --test src/ scripts/`: 48 pass. 🤖 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#12
No description provided.