Skip to content

docs: publish the WSL2 guide on the docs site - #627

Draft
pmoutsias-amd wants to merge 7 commits into
mainfrom
docs/wsl-page
Draft

pmoutsias-amd wants to merge 7 commits into
mainfrom
docs/wsl-page

Conversation

@pmoutsias-amd

@pmoutsias-amd pmoutsias-amd commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Adds an Install page, ROCm CLI on WSL2, to the docs site. It single-sources the published sections of docs/wsl.md (prerequisites, ROCDXG install, diagnosing a WSL host, and what rocm examine reports) through anchored includes. The maintainer sections (runtime env design, install UX recommendations, test plans) stay unpublished.
  • Copyedits the published sections of docs/wsl.md for the style guide.
  • Replaces the hard-coded ROCDXG version and SHA-256 in the by-hand install steps with ROCDXG_VERSION and ROCDXG_SHA256 placeholders, so they can't go stale.
  • Says which rocm examine fields appear only in --json output.
  • Links the page from the installation page and adds it to _toc.yml.in.

Split out of #616 so that PR stays a copyedit. The legacy ROCm / 7.13 hedge in the Windows SDK section is unchanged from the original.

Test plan

  • sphinx-build -W --keep-going -b html in docs/rocm-docs passes on this branch.
  • Claims checked against driver_install.rs, fix.rs, diagnose.rs, and examine.rs, and against a live rocm examine and rocm examine --json run on a WSL2 host.
  • By-hand install commands (curl, sha256sum -c, apt install) have not been run end to end; the filename and URL match what rocm install driver builds.
  • The claim that wsl.exe --exec runs a non-login shell is supported by the source (examine.rs) but was not tested empirically.
  • Engineering review of the technical claims.

Add an Install page, ROCm CLI on WSL2, that single-sources the
published sections of docs/wsl.md (prerequisites, ROCDXG install,
diagnosing a WSL host, and what `rocm examine` reports). Maintainer
notes in docs/wsl.md stay unpublished.

Copyedit the published sections for the style guide, replace the
hard-coded ROCDXG version and digest in the by-hand install steps with
placeholders, and say which `rocm examine` fields appear only in the
JSON output. Link the page from the installation page.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: pmoutsia_amdeng <peter.moutsias@amd.com>
@pmoutsias-amd
pmoutsias-amd requested a review from a team as a code owner October 9, 2026 20:10
@pmoutsias-amd pmoutsias-amd reopened this Oct 9, 2026
@pmoutsias-amd
pmoutsias-amd marked this pull request as draft October 9, 2026 20:19
pmoutsias-amd and others added 6 commits October 9, 2026 16:19
The table is single-sourced into the installation page, where the
GitHub URL in the WSL2 row sat next to the internal link to the new
WSL2 page. Drop it from the row and link docs/wsl.md from a sentence
after the table in the README instead.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: pmoutsia_amdeng <peter.moutsias@amd.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: pmoutsia_amdeng <peter.moutsias@amd.com>
The new WSL2 page single-sources docs/wsl.md through MyST `{include}`
directives, so an edit to that file alone must not skip the `-W` docs
build. Adds it to the `docs:` path filter alongside docs/vllm.md.

Co-Authored-By: Claude Code <noreply@anthropic.com>
Use "ROCm CLI" instead of rocm-cli in prose, attribute the non-login
shell to the explicit /bin/sh -c rather than wsl.exe --exec, and rewrap
an overlong line.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: pmoutsia_amdeng <peter.moutsias@amd.com>
Explain what `rocm diagnose --distro` does, what "the same catalog"
means, and define "WSL catalog" at its first use in the published page.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: pmoutsia_amdeng <peter.moutsias@amd.com>
…lets

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: pmoutsia_amdeng <peter.moutsias@amd.com>
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.

1 participant