docs: rewrite the docs: player docs in docs/user/, developer docs in docs/dev/, the readme as a front page #2561
Open
Joey-Magnus wants to merge 7 commits from
Joey-Magnus/docs/rewrite into main
pull from: Joey-Magnus/docs/rewrite
merge into: MagicBeanDev:main
MagicBeanDev:main
MagicBeanDev:github/pr/2893
MagicBeanDev:github/pr/2890
MagicBeanDev:github/pr/2887
MagicBeanDev:github/pr/2878
MagicBeanDev:github/pr/2875
MagicBeanDev:github/pr/2874
MagicBeanDev:github/pr/2873
MagicBeanDev:github/pr/2871
MagicBeanDev:github/pr/2756
MagicBeanDev:github/pr/2897
MagicBeanDev:github/pr/2896
MagicBeanDev:github/pr/2718
MagicBeanDev:github/pr/2842
MagicBeanDev:github/pr/2691
MagicBeanDev:github/pr/2895
MagicBeanDev:github/pr/2743
MagicBeanDev:github/pr/2765
MagicBeanDev:github/pr/2708
MagicBeanDev:github/pr/2732
MagicBeanDev:github/pr/2755
MagicBeanDev:github/pr/2817
MagicBeanDev:github/pr/2876
MagicBeanDev:release-please--branches--main
MagicBeanDev:release-please--branches--main--release-notes
MagicBeanDev:github/pr/2778
MagicBeanDev:github/pr/2888
MagicBeanDev:github/pr/2866
MagicBeanDev:github/pr/2877
MagicBeanDev:github/pr/2800
MagicBeanDev:github/pr/2829
MagicBeanDev:github/pr/2850
MagicBeanDev:github/pr/2889
MagicBeanDev:github/pr/2882
MagicBeanDev:github/pr/2860
MagicBeanDev:github/pr/2849
MagicBeanDev:github/pr/2886
MagicBeanDev:github/pr/2794
MagicBeanDev:github/pr/2840
MagicBeanDev:github/pr/2830
MagicBeanDev:github/pr/2834
MagicBeanDev:github/pr/2719
MagicBeanDev:github/pr/2742
MagicBeanDev:github/pr/2741
MagicBeanDev:github/pr/2820
MagicBeanDev:github/pr/2771
MagicBeanDev:github/pr/2859
MagicBeanDev:github/pr/2858
MagicBeanDev:github/pr/2823
MagicBeanDev:github/pr/2757
MagicBeanDev:github/pr/2769
MagicBeanDev:github/pr/2844
MagicBeanDev:github/pr/2843
MagicBeanDev:github/pr/2673
MagicBeanDev:github/pr/2855
MagicBeanDev:github/pr/2739
MagicBeanDev:github/pr/2807
MagicBeanDev:github/pr/2851
MagicBeanDev:github/pr/2789
MagicBeanDev:github/pr/2814
MagicBeanDev:github/pr/2818
MagicBeanDev:github/pr/2774
MagicBeanDev:github/pr/2772
MagicBeanDev:github/pr/2750
MagicBeanDev:github/pr/2786
MagicBeanDev:github/pr/2785
MagicBeanDev:github/pr/2782
MagicBeanDev:github/pr/2779
MagicBeanDev:github/pr/2775
MagicBeanDev:github/pr/2706
MagicBeanDev:github/pr/2766
MagicBeanDev:github/pr/2747
MagicBeanDev:github/pr/2759
MagicBeanDev:github/pr/2745
MagicBeanDev:github/pr/2740
MagicBeanDev:github/pr/2733
MagicBeanDev:github/pr/2725
MagicBeanDev:github/pr/2727
MagicBeanDev:github/pr/2728
MagicBeanDev:github/pr/2729
MagicBeanDev:github/pr/2721
MagicBeanDev:github/pr/2722
MagicBeanDev:github/pr/2715
MagicBeanDev:github/pr/2714
MagicBeanDev:github/pr/2707
MagicBeanDev:github/pr/2703
MagicBeanDev:github/pr/2705
MagicBeanDev:github/pr/2697
MagicBeanDev:github/pr/2679
MagicBeanDev:github/pr/2676
MagicBeanDev:github/pr/2669
MagicBeanDev:docs/what-hookshot-connects-to
MagicBeanDev:fix/hdr-encode-test
MagicBeanDev:fix/main-tests
MagicBeanDev:fix/play-cache-files
MagicBeanDev:perf/game-barrier-order
MagicBeanDev:feat/heap-lazy
MagicBeanDev:feat/texture-detail
MagicBeanDev:perf/astc-opaque-bc1
MagicBeanDev:fix/fs-dir-lock
MagicBeanDev:fix/framegen-native-kept
MagicBeanDev:fix/update-no-downgrade
MagicBeanDev:port/k10-gcn-f16-mirrors
MagicBeanDev:fix/framegen-mult-cap
MagicBeanDev:chore/release-as-2.1.1
MagicBeanDev:perf/pcache-load-switch
MagicBeanDev:fix/prepare-progress-log
MagicBeanDev:fix/update-closes-stale-game
MagicBeanDev:fix/hdr-scaled-sampled
MagicBeanDev:perf/first-start-preset
MagicBeanDev:perf/zero-upload
MagicBeanDev:fix/vcore-escape-2s
MagicBeanDev:test/fake-gh-atomic
MagicBeanDev:perf/batch-idle-flush
MagicBeanDev:test/finish-stub-a
MagicBeanDev:chore/record-2.1.0
MagicBeanDev:fix/main-red-tests
MagicBeanDev:fix/test-display-startup-driver-cache
MagicBeanDev:feat/mesh-shader-mode
MagicBeanDev:fix/menu-probes-at-startup
MagicBeanDev:fix/fps-counter-classic
MagicBeanDev:fix/test-log-batch-flake
MagicBeanDev:fix/narrow-screen-hud
MagicBeanDev:ci/prereleases
MagicBeanDev:release/v2.0.15
MagicBeanDev:hotfix/v2.0.15
MagicBeanDev:fix/present-ahead-replay
MagicBeanDev:release/v2.0.13
MagicBeanDev:fix/bracket-paths-2013
MagicBeanDev:fix/hdr-overlays-2013
MagicBeanDev:fix/fps-counter-scale-2013
MagicBeanDev:fix/stick-seen-at-rest
MagicBeanDev:hotfix/menu-fits-screen
MagicBeanDev:fix/f1-always-opens-menu
MagicBeanDev:fix/ini-keep-lines
MagicBeanDev:claude/cranky-pike-7cf247
MagicBeanDev:perf/texture-answer-flat
MagicBeanDev:fix/stamp-test-modules
MagicBeanDev:fix/appimage-fonts
MagicBeanDev:fix/display-awake
MagicBeanDev:release/v2.0.12
MagicBeanDev:fix/discord-windows
MagicBeanDev:rc/v2.0.12-tests
MagicBeanDev:fix/dlss-keep-feature
MagicBeanDev:rc/v2.0.12
MagicBeanDev:button-icons
No reviewers
Labels
Clear labels
accessibility
Barrier affecting people with disabilities
autorelease: pending
autorelease: tagged
bug
Something isn't working
dependencies
Pull requests that update a dependency file
documentation
Improvements or additions to documentation
duplicate
This issue or pull request already exists
enhancement
New feature or request
github_actions
Pull requests that update GitHub Actions code
good first issue
Good for newcomers
help wanted
Extra attention is needed
invalid
This doesn't seem right
question
Further information is requested
testing wanted
wontfix
This will not be worked on
No labels
accessibility
autorelease: pending
autorelease: tagged
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
testing wanted
wontfix
Milestone
Clear milestone
No items
No milestone
Assignees
Clear assignees
No assignees
2 participants
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/Hookshot!2561
Loading…
Reference in a new issue
No description provided.
Delete branch "Joey-Magnus/docs/rewrite"
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?
hckrman101 asked in #dev-work for the docs to be rewritten, split into docs for players and docs for developers, with the junk cleaned out. This is that rewrite.
Drafted by _trash.panda's agent; _trash.panda reviewed the outline and the first page and set the style.
The new layout
readme.mdis now a front page (148 lines, was ~900): what Hookshot is, a short status, getting started, an index of the docs, how it works, credits and license. It still ships in the AppImage.docs/user/, for players:install.mdsettings.mdupscaling.mdcontrols.mdsaves.mddocs/saves.md)mods.mdtroubleshooting.mdScreenshots (
docs/images/user/): the Linux builder and each menu tab, taken from a headless run of a game built from current main, with default settings and no mods.docs/dev/, for developers:README.md(index),building.md,running.md,switches.md,automation.md(wasdocs/control.md),architecture.md,testing.md,releasing.md(wasdocs/versioning.md),workflow.md(wasdocs/workflow.md), pluscpu-profile.md,portable-builder.mdandwriteback-observations.mdmoved in unchanged.CONTRIBUTING.mdis cut to the PR rules and links (111 lines, was ~300).AGENTS.mdpoints atdocs/dev/.Also moved into
docs/dev/:windows-builder-runtime.mdunchanged, and main's newtest-requests.mdwith its links fixed. Unchanged:docs/worklist.md,docs/tested-configurations.md,CHANGELOG.md(one path in its hand-written intro updated),BAKE.md.What went
docs/were PR write-ups committed beside their fixes. Nothing referenced them. The facts worth keeping are inarchitecture.md,switches.mdandbuilding.md. The three rules most of them repeat are now stated once inarchitecture.md: mapped memory isn't assumed coherent, a failed Vulkan creation is never cached, and GPU lifetimes come from fences and the timeline, not frame counts.design.md's dated plan and lab-notebook sections (§5-6, §8-12). Its architecture and replay rules are inarchitecture.md.building.md.Stale facts fixed along the way
RX_VK_VRAM_MB's default is 45% on cards of 8.5 GB or less, 70% abovescripts/pipeline_tour.py,third_party/PROVENANCE.md,host/nvn2.c)Code touched
Only comments and doc paths in strings, plus tests that read docs:
test_camera_speed.pyandtest_stick_dead_zone.pyread the settings table fromdocs/user/settings.md.test_udmabuf_warning.pychecks for the new link.test_readme_menu_rows.py(#2105) is nowtest_settings_menu_rows.py: the same checks ondocs/user/settings.md's per-tab tables, and the Motion and Controls pages' rows too.Checks
python3 -I tests/run_all.pyon Linux: all pass (test_lift_cache.pyneeds the project's Python with numpy, as on main).#anchorin the readme, CONTRIBUTING, AGENTS anddocs/**resolves (script check).Overlaps
website/content-sources.mjsimportsreadme.md,docs/saves.mdandCONTRIBUTING.md, and its guides link into readme sections this PR moves. Proposal: the site stays as the way the docs are presented, withdocs/user/(anddocs/dev/if wanted) as its content, in place of its five separate guides. Then there's one copy of each fact, and the site keeps its search, compatibility checker and progress pages. Happy to help adaptcontent-sources.mjsonce one of these lands.docs/user/settings.mdhas every row on main, and the test reads it there.Open questions
BAKE.md) still used? Two tests and two source files cite it, so it's left as it is.switches.mdmarks the ones that look safe.install.mdneeds someone on Windows (there's a placeholder comment).Commits: player docs, developer docs, the menu screenshots, then a merge of main that carries today's doc changes (the HDR tone mapper, Aspect ratio, Save my pipeline list, the -O1 development build, the presenter thread, the Windows builder runtime note) into the new pages, and later merges that do the same for main's doc changes since. Each merge commit's message says where main's content went. Review them one at a time if that's easier.
🤖 Generated with Claude Code
Merged main in twice more today to carry its doc changes into the new pages: the Graphics tab's new section headings, Field of view, the presenter thread now off by default, and the new switches (RX_VK_GPU_HANG_SEC, the vendor workarounds, RX_VK_LOW_VRAM_MIPS, RX_VK_REFLEX_SUBMIT_IDS, RX_VK_FALLBACK_PHI_LIMIT).
Since this moves the readme's tables and deletes docs/development.md, every PR that edits those will conflict with it, and it with them. It gets cheaper the sooner it lands; until then I'll keep merging main and porting what changes.
The Graphics tab screenshot still shows the layout before the section headings. A retake from current main follows once the machine is free.
(_trash.panda's agent)
github-sync referenced this pull request2026-11-12 06:22:58 +00:00
Merged main in three times today (0146b030, bc77fced, 043ab8f2); the branch is level with main and has no conflicts. Each merge kept this PR's pages and carried main's doc changes into them. The old files (
docs/development.md,control.md,versioning.md,workflow.md) stay deleted. Here is where main's content went.docs/user/settings.md: the Game language, Menu language, Skip opening (#2827, which had no doc line) and Bug report rows on the Gameplay tab, with a note on languages (
HOS_LANGUAGE, the CJK fonts). Also the Keyboard choice of Button prompts, Anti-Lag 2 working with frame generation, the Native mouse camera's handover, #2105's Mesh shaders and Discord status details, and the Teleport minimap repair under Debug.docs/user/controls.md: the five Ocarina note rows and their
note_*lines inhookshot_options.ini, the Keyboard button prompts, and the mouse camera handover.docs/user/troubleshooting.md: what the Bug report row writes and what it leaves out, and
RX_VK_ASTC_BC7beside the AMD texture workaround. upscaling.md: DLSS Frame Generation's runtime, and Anti-Lag 2 with frame generation. install.md: "What Hookshot connects to" (linked from the readme's index), and the Linux Play hand-off to a systemd scope (#2643). mods.md: size tables for several game versions (#2592).docs/dev/switches.md:
RX_VK_IMPORT_CHUNK_MB,RX_VK_NATIVE_FADD,RX_VK_CAPTURE_KEEP_OLD/RX_VK_CAP_BLOCKS, the newRX_VK_VRAM_MBdefaults withRX_VK_COUNT_BY_ESTIMATE,RX_VK_NO_DRAWN_WRITEBACK,RX_VK_WB_MAX_KB's learned write-back withRX_VK_WB_PROBATIONandRX_VK_LOG_WB_SKIPS,RX_VK_MIRROR_TRIM,RX_VK_EVICT_EXCESS,RX_VK_PROGRAM_CACHE_ZSTD,HOOKSHOT_FORCE_PROMPTSandHOS_SKIP_OPENING; also the frame generation runtime inRX_VK_DLSS_DIR.docs/dev/building.md: button prompts kept in source builds, the Docker/Podman AppImage build, and the DLSS Frame Generation runtime with NGX's search folders and the ASCII-path rule. automation.md: the bridge's
agecommand, with its client line and example. releasing.md: the nightly tag that only moves forward. running.md: the controller GUID/mapping log line (#2678). workflow.md: the two Matrix rooms, and agents reading#agent-updatesbefore claiming.AGENTS.md and CONTRIBUTING.md: AGENTS.md keeps this PR's version and gains main's Team updates and Test requests sections, plus "a pull request is tested before it is opened". CONTRIBUTING.md gains the test requests link, the in-game testing sentence in step 6, "rebase or merge main", and #2105's rule that a new menu row needs a line in settings.md. Main's new
docs/test-requests.mdis nowdocs/dev/test-requests.md, with its links fixed and listed in the developer index. The links to it, and to the moved workflow and development pages, are updated in the testing and team-updates skills and inscripts/team_chat.py. The two issue forms linked readme anchors this PR moved, so they now link the install and troubleshooting pages. The worklist and tested configurations merged cleanly and match main.Tests: #2105's
tests/test_readme_menu_rows.pyis nowtests/test_settings_menu_rows.py. It reads settings.md's per-tab tables and keeps all five checks. Since settings.md lists the Motion and Controls pages, it now checks their rows and order too. I checked that it fails on a row removed, two rows swapped, a stale row and a renamed Motion row.CI: the three failing Python jobs on the last head were main's own failures, not this PR's:
test_env_on.py(HOS_FPS_LOG, fixed on main by #2575), and on Windowstest_pcache_header_read.pyandtest_psychov35.py(MSVC deprecation errors, fixed by #2562). The merges bring those fixes in.Tested: the full
tests/run_all.pyon Linux gives 468 passed, 2 failed.test_lift_cache.pyfails on main here too (it needs the project's Python with numpy).test_updater_asset_digest.pyfails here on main as well, because this machine's .NET can't restore its reference packages; it passed in CI. Every relative link and#anchorin the readme, CONTRIBUTING, AGENTS,docs/**and the skills resolves.Still open: the Graphics tab screenshot still shows the layout from before the section headings. It needs a retake from current main on a real machine, and I haven't faked one. The open questions in the description (BAKE.md, which switches are for players, a Windows builder screenshot) still stand.
(_trash.panda's agent)