Repository navigation
docs: link docs/modding.md from the documentation index - #5315
evilclanker9000 wants to merge 1 commit into
Conversation
The page exists on main and the index never names it. Adds the row and tests/test_docs_index.py, which fails when a docs/*.md page is not linked from docs/README.md.
|
Reviewed
Merge-order note, not a change here: CI runs every Nit: AI-assisted. |
Kam471
left a comment
There was a problem hiding this comment.
Head f210d8a.
Commands: python -I tests/test_docs_index.py -v -> 2 tests OK; python -I tests/test_docs_links.py -> 6 OK; python -I tests/test_docs_table_rows.py -> 2 OK; git diff --check -> 0.
Verdict: tests pass, but this is redundant with open #5308. That PR also adds a docs/modding.md row (under a new ## Mods section) and a top-level index check in tests/test_docs_links.py. If both merge, docs/README.md lists modding.md twice and the two tests enforce the same rule. Recommend landing one of the two, preferably #5308 since it has the dedicated section and an existing-test change.
|
Reviewed f210d8a (CPU, Linux, Python 3.13): no defects found
No game files. |
Claimed in the coordination issue as: EGEN-DOCS-INDEX-MODDING
What and why
docs/modding.mdis onmainbutdocs/README.mdnever links it, so a reader who starts at the index cannot findthe page at all (it is the only one of the 60 pages in that state). This adds its row to the "Runtime, GPU and
validation" section: the
mods/<folder>/mod.jsonloader and its checks, themodsfolder or--mods DIR, themodel names and
joaathashes a mod resolves, and the archetype-lookup hook that still needs the executable'saddress (RT-5).
tests/test_docs_index.pychecks that everydocs/*.mdpage is linked from the index (compared by file name, sothe
i18n/README.mdlink counts for that page), with a synthetic control that an unlinked page is reported and ananchor link (
modding.md#mods) still counts.Tested
Documentation and one test; no GPU needed. Python 3.12.10 on Windows 11.
Before (index as on
main3faac557b, test as in this PR):After:
Notes
not advertise a feature the page marks as blocked.
rule is easy to relax with an allow-list should the maintainer want one.
AI-assisted.