docs: match the docs to main after the mod API merge #3055

Merged
HumanBean merged 1 commit from HumanBean/Longshot:docs/after-merge into main 2026-12-03 07:30:41 +00:00
Owner

Summary

After the mod API merged (#2822), several docs still described files and behaviour that are gone. This fixes what was wrong, checked against the code on main (every path in a code span or link was checked to exist, then each hit read):

  • AGENTS.md: the settings rule now says a saved key is its line in settings.toml and that the renderer's part of a setting goes in gpu/vk/menu/.
  • Removed files named as current: host/mods.c (now api::loader), host/render_sites.c (the C site callbacks are in hos_zstd.c, nvn_native.c, hos_thread.c), Rule's home (game/crates/site-table), the grass mod's turf.rs (gone, its two locations unread), game/src/items.rs, game/sites.h, game/sites.def, game/options.h, tests/test_game_shadow.py, test_mod_examples.py, test_modstore.py, test_mods_menu.py, tests/modsites.rs.
  • builder/README.md: the crate table and dependency graph from the Cargo.toml files: no steam crate; build-tools, blobstore, launcher-profile, crash, ui, net-broker, release added. build-core's and release's READMEs fixed (self-update is gone).
  • The settings file is settings.toml, not longshot_options.ini (fullscreen, control bridge, input, upscalers, switches, profiling, the PR template).
  • The Mods tab is the mods-tab system mod, not vk_menu.cpp; Dear ImGui is gone (CONTRIBUTING, the guide images' README).
  • "mod-api" branch references removed (releases.md, build.md, nav.md); setup.md's game/ row describes the Rust game side.

Read first: AGENTS.md, builder/README.md, docs/dev/reference/hooks.md.

Testing

Tested: docs only, nothing the game runs. tests/test_doc_anchors.py, test_doc_commands.py, test_crate_readmes.py, test_menu_ini_keys.py, test_check_pr_description.py pass on Linux.

Still to test:

  • None

Measurements

Docs only: nothing to measure.

Risks

None: no code changes.

Checklist

Ready for review

  • One topic, on current main; the title is a Conventional Commit.
  • Tested on my own PC, in the game for a change the game runs, as Testing says.
  • mise run test passes (any failure that also fails on main is named). (Run once on the three after-merge branches and #3052 together: 866 passed, 12 skipped, 2 failed: test_vk_wb_cpu_words_fast, which fails on main, and test_lifter, through a build-driver lock test that fails only when everything runs at once and passes alone.)
  • Measured against main, or Measurements says why there is nothing to measure.
  • No game files, build output or hand-edited generated files; third_party/ untouched; nothing GPL-incompatible.

When it applies

  • Docs updated.
  • AI assistance recorded with Assisted-by: / Co-Authored-By: trailers.

Ready to merge

  • Everything in Still to test has run, its results in Tested.
  • Approved in review, every comment answered.
  • CI passes on the head; on current main, measured again or a comment says why the numbers still hold.

🤖 Generated with Claude Code

https://claude.ai/code/session_017vw8e2fJhRpDrY7pgVx6oJ

## Summary After the mod API merged ([#2822](https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2822)), several docs still described files and behaviour that are gone. This fixes what was wrong, checked against the code on `main` (every path in a code span or link was checked to exist, then each hit read): - **AGENTS.md**: the settings rule now says a saved key is its line in `settings.toml` and that the renderer's part of a setting goes in `gpu/vk/menu/`. - **Removed files named as current**: `host/mods.c` (now `api::loader`), `host/render_sites.c` (the C site callbacks are in `hos_zstd.c`, `nvn_native.c`, `hos_thread.c`), `Rule`'s home (`game/crates/site-table`), the grass mod's `turf.rs` (gone, its two locations unread), `game/src/items.rs`, `game/sites.h`, `game/sites.def`, `game/options.h`, `tests/test_game_shadow.py`, `test_mod_examples.py`, `test_modstore.py`, `test_mods_menu.py`, `tests/modsites.rs`. - **builder/README.md**: the crate table and dependency graph from the Cargo.toml files: no `steam` crate; `build-tools`, `blobstore`, `launcher-profile`, `crash`, `ui`, `net-broker`, `release` added. build-core's and release's READMEs fixed (`self-update` is gone). - **The settings file** is `settings.toml`, not `longshot_options.ini` (fullscreen, control bridge, input, upscalers, switches, profiling, the PR template). - **The Mods tab** is the mods-tab system mod, not `vk_menu.cpp`; Dear ImGui is gone (CONTRIBUTING, the guide images' README). - **"mod-api" branch** references removed (releases.md, build.md, nav.md); setup.md's `game/` row describes the Rust game side. Read first: `AGENTS.md`, `builder/README.md`, `docs/dev/reference/hooks.md`. ## Testing **Tested:** docs only, nothing the game runs. `tests/test_doc_anchors.py`, `test_doc_commands.py`, `test_crate_readmes.py`, `test_menu_ini_keys.py`, `test_check_pr_description.py` pass on Linux. **Still to test:** - None ## Measurements Docs only: nothing to measure. ## Risks None: no code changes. ## Checklist ### Ready for review - [x] One topic, on current `main`; the title is a Conventional Commit. - [x] Tested on my own PC, in the game for a change the game runs, as Testing says. - [x] `mise run test` passes (any failure that also fails on `main` is named). *(Run once on the three after-merge branches and #3052 together: 866 passed, 12 skipped, 2 failed: `test_vk_wb_cpu_words_fast`, which fails on `main`, and `test_lifter`, through a `build-driver` lock test that fails only when everything runs at once and passes alone.)* - [x] Measured against `main`, or Measurements says why there is nothing to measure. - [x] No game files, build output or hand-edited generated files; `third_party/` untouched; nothing GPL-incompatible. ### When it applies - [x] Docs updated. - [x] AI assistance recorded with `Assisted-by:` / `Co-Authored-By:` trailers. ### Ready to merge - [ ] Everything in Still to test has run, its results in Tested. - [ ] Approved in review, every comment answered. - [ ] CI passes on the head; on current `main`, measured again or a comment says why the numbers still hold. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_017vw8e2fJhRpDrY7pgVx6oJ
docs: match the docs to main after the mod API merge
Some checks failed
PR description / Title and description (pull_request_target) Successful in 5s
CI / What the change needs (pull_request) Successful in 7s
CI / Third-party parts and guide screenshots (pull_request) Successful in 11s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 19s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Failing after 1m25s
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Successful in 10m53s
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Successful in 10m48s
CI / Website build and checks (pull_request) Successful in 1m10s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Failing after 40m4s
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Successful in 43m31s
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Failing after 1h0m6s
f8102163ed
Fix what the docs said wrong after #2822: removed files named as current
(host/mods.c, host/render_sites.c, game/sites.h, sites.def, options.h,
game/src/items.rs, grass's turf.rs, tests/test_game_shadow.py,
test_mod_examples.py, test_modstore.py, test_mods_menu.py), the builder's
crate table and graph (no steam crate; build-tools, blobstore,
launcher-profile, crash, ui, net-broker and release added), the release
crate's gone `self-update`, the settings file (settings.toml, not
longshot_options.ini), the Mods tab (the mods-tab system mod, not
vk_menu.cpp), Dear ImGui (gone), and the "mod-api" branch references.
AGENTS.md's settings rule now names settings.toml and gpu/vk/menu/.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017vw8e2fJhRpDrY7pgVx6oJ
HumanBean deleted branch docs/after-merge 2026-12-03 07:30:42 +00:00
Sign in to join this conversation.
No reviewers
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
MagicBeanDev/Longshot!3055
No description provided.