docs: which imported GDK names have a public page (DOCS-GDK-PUBLIC-PAGES) #2655
No reviewers
Labels
No labels
accessibility
area: ci
area: d3d12
area: docs
area: launcher
area: runtime (legacy)
area: shader translator
area: tools
area: viewer
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs in-game run
needs rebase
needs-triage
question
ready-for-agent
submodules
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!2655
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@OreoFR on GitHub · 2026-11-29 22:44 UTC · original
OreoFR:docs/gdk-public-pages→main· +48 −3 · 2 files · 1 commits · merged 2026-11-30 10:04 UTCClaimed in the coordination issue as: DOCS-GDK-PUBLIC-PAGES (#2570)
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
@fiestorra on GitHub · 2026-11-30 05:31 UTC · original
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.
@OreoFR on GitHub · 2026-11-30 05:32 UTC · original
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
@MoonEyes on GitHub · 2026-11-30 10:04 UTC · original
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).