docs: which imported GDK names have a public page (DOCS-GDK-PUBLIC-PAGES) #2655
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2655"
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?
Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-29T22:44:14Z.
Claimed in the coordination issue as: DOCS-GDK-PUBLIC-PAGES (https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7263905445)
What and why
Step 2 of
docs/gdk_public_reference.md(#2630): for each GDK family the game uses, which names cited indocs/runtime_imports.mdhave a public page, with the family's contents page on Microsoft Learn, and which have none.docs.xbox.comllms index leaves out most of XMem and all of XNetworking, whose pages do exist on Microsoft Learn. So the index alone is not enough to say "no public source".XAsyncBeginAlloc,XErrorReport,XStoreIsAvailabilityPurchasable,XTaskQueueIsEmpty,XUserHandle; and no public page at all for the console audio (XApu*,XDsp*) andXG*names cited there.docs/README.md: index line updated.Tested
macOS 27.2.1, Apple M5, Python 3.12.16, main
452d1d1b6: the 13tests/test_docs_*.pyfiles pass (links, encoding, table rows, repeated lines, repo paths and others). Merges cleanly with main and with #2566 (merge-tree), and with the open PRs that touchdocs/README.md(#2151 #2455 #2580).GPUs tested: n/a
AI-assisted: yes (Claude Code)
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a, docs only)🤖 Generated with Claude Code
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-11-30T05:31:16Z.
Verified on this machine (Windows 11, Python 3.13.14), and the useful part was trying to falsify the table's coverage.
1. It applies.
merge-treeclean;1786d7ad5cherry-picks ontomain1d22590b9without a conflict. Two files,48 insertions(+), 3 deletions(-):docs/README.mdand the newdocs/gdk_public_reference.md.2. The docs checks pass, which is what actually exercises a documentation change:
That is the set
runtime.yml'scheckjob runs over the documentation: links, fenced blocks, adjacent blocks, list items, table ids, repo paths.3. I tried to break the table's claim and could not. The page says it is "a table of which imported GDK names have a public page", so I compared it against the shims:
The table is organised by family, not by function name — 30 rows from
XAccessibilitytoXG. So a name-by-name comparison is the wrong test, and a first pass of mine flagged five areas as missing (XMemAlloc,XTime,XCryptography,XInput,XVoice). Checking each:XMemAllocXMemrow covers the familyXTimeXCryptographyXVoiceXInputgameinput.cpp:1313("XInput#", the name SDL uses for Xbox pads on Windows), not as an imported APISo the four absences are correct, and the one real import is covered by its family row. The table holds up on the check I could run.
What I did not test: whether every page it links to actually exists and is public. That needs network access to Microsoft's docs from a session, and it is the one claim a reader cannot check locally either - worth a link check in CI if this page grows.
Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-30T05:32:30Z.
Thanks, @fiestorra. On the one part you could not test: every link in the table was checked by HTTP when the table was written (2026-11-29), and that check is what the "found" column means: each family's
_memberspage and each counted name answered 200 with that name in its<title>, following redirects to Microsoft Learn. I did not re-check them today. A CI link check would need network access, which the docs tests deliberately don't have, so a dated measurement in the page is the honest form for now.AI-assisted: Claude Code
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-30T10:04:38Z.
Merging. Head
1786d7ad5merges cleanly withmaina4300e3eband does not force a rebase of #2566. Docs only; fiestorra's check is above. The 13 docs test files pass on Windows 11 on main + this PR. I did not check the links again. Merged by MoonEyes.AI-assisted (Claude Code).