Repository navigation
docs/README.md: index the existing modding.md page - #5308
evilclanker9000 wants to merge 1 commit into
Conversation
docs/modding.md (the mod.json format, the loader, the archetype-lookup hook and the first-person camera) was named by neither docs/README.md nor the root README, so the docs index could not reach it. tests/test_docs_links.py now fails for a top-level docs/*.md page docs/README.md does not name, so a new page cannot be added unindexed again.
|
Independent CPU verification on Linux (Python 3.13.5, head
Looks good to merge. |
|
Reviewed and tested Ran
Bug: an anchored link doesn't count as naming a page ( Overlap: #4804 (bobcatchris, opened 05:18) already indexes No game files. AI-assisted. |
Kam471
left a comment
There was a problem hiding this comment.
Head 57af5bab8. git diff --check clean.
python -I tests/test_docs_links.py-> 7 tests OK.- Same test file on
origin/mainwithout the row ->FAILED (failures=1),- ['modding.md'] + [] : docs/README.md does not name every docs/*.md page. - The row's claims match
docs/modding.md:mods/mandy_prison_intro,mods/first_person,--archetype-lookup RVA[,ARG], and the page's "only the lookup's address in the executable is missing". git merge-tree --write-tree refs/remotes/pr/5308 refs/remotes/pr/5315-> clean.
Verdict: approve.
|
Reviewed 57af5ba (CPU, Linux, Python 3.13): 1 issues
No game files. |
docs/modding.md(140 lines: themod.jsonarchetype-swap format, the loader, the archetype-lookup hook and the first-person camera view) is linked from neitherdocs/README.mdnor the rootREADME, so nothing in the docs index reaches it. The last commits that touched it (98fa503, 3eb4410) added the page but no index row.This adds the missing row under a new
## Modssection ofdocs/README.md, and a check intests/test_docs_links.pythat every top-leveldocs/*.mdpage is named by the index, so a page added later cannot stay unreachable the same way.ID: EGEN-MODDING-INDEX (DeepSeek2)
Test
No GPU needed; no game files.
Before the index row, with the new test:
After the row:
Notes
docs/modding.mditself, and its claims (the two bundled mods, the missing lookup RVA) are the ones the page andmods/*/mod.jsonalready make.docs/modding.mdstays out of scope here so the PR is one thing.docs/*.md, notdocs/i18n/or other subfolders, which have their own index (docs/i18n/README.md) thatdocs/README.mdalready links.modding.mdwas the only one of the 60 top-level pages missing from the index.AI-assisted.