Skip to content

docs: which imported GDK names have a public page (DOCS-GDK-PUBLIC-PAGES) - #2655

Merged
MoonEyes merged 1 commit into
ProjectLeonida:mainfrom
OreoFR:docs/gdk-public-pages
Nov 30, 2026
Merged

MoonEyes merged 1 commit into
ProjectLeonida:mainfrom
OreoFR:docs/gdk-public-pages

Conversation

@OreoFR

@OreoFR OreoFR commented Nov 29, 2026

Copy link
Copy Markdown
Collaborator

Claimed in the coordination issue as: DOCS-GDK-PUBLIC-PAGES (#2570 (comment))

What and why

Step 2 of docs/gdk_public_reference.md (#2630): for each GDK family the game uses, which names cited in docs/runtime_imports.md have a public page, with the family's contents page on Microsoft Learn, and which have none.

  • MEASURED on 2026-11-29 by HTTP only (200 with the name in the page title); page contents were not read and nothing from the GDK is copied.
  • Found: the public docs.xbox.com llms 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".
  • Not found at the usual paths: XAsyncBeginAlloc, XErrorReport, XStoreIsAvailabilityPurchasable, XTaskQueueIsEmpty, XUserHandle; and no public page at all for the console audio (XApu*, XDsp*) and XG* names cited there.
  • docs/README.md: index line updated.

Tested

macOS 27.2.1, Apple M5, Python 3.12.16, main 452d1d1: the 13 tests/test_docs_*.py files 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 touch docs/README.md (#2151 #2455 #2580).

GPUs tested: n/a

AI-assisted: yes (Claude Code)

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (n/a, docs only)

🤖 Generated with Claude Code

…PUBLIC-PAGES)

Measured 2026-11-29 by HTTP against the public docs.xbox.com index and
Microsoft Learn; page contents not read, nothing copied from the GDK.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@fiestorra

Copy link
Copy Markdown
Contributor

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-tree clean; 1786d7ad5 cherry-picks onto main 1d22590b9 without a conflict. Two files, 48 insertions(+), 3 deletions(-): docs/README.md and the new docs/gdk_public_reference.md.

2. The docs checks pass, which is what actually exercises a documentation change:

python3 -m pytest tests/test_docs_*.py -q      -> 57 passed, 132 subtests

That is the set runtime.yml's check job 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 XAccessibility to XG. 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:

name is it imported by the runtime?
XMemAlloc yes, 8 shim files - and the XMem row covers the family
XTime no shim mentions it
XCryptography no
XVoice no
XInput only as a device-path string in gameinput.cpp:1313 ("XInput#", the name SDL uses for Xbox pads on Windows), not as an imported API

So 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

OreoFR commented Nov 30, 2026

Copy link
Copy Markdown
Collaborator Author

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 _members page 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

Copy link
Copy Markdown
Collaborator

Merging. Head 1786d7ad5 merges cleanly with main a4300e3eb and 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).

@MoonEyes
MoonEyes merged commit 1b0f657 into ProjectLeonida:main Nov 30, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants