From fe643fab53be41d659b6054f929326fcfc27eb99 Mon Sep 17 00:00:00 2001 From: Netanel Komm Date: Mon, 15 Jun 2026 21:45:29 +0300 Subject: [PATCH] Docs: Rename CONTEXT structure files to fix URL encoding routing issues The architecture table used relative links with tildes (like ns-winnt-context~r2.md). While these resolve in GitHub, the live Microsoft Learn build system seems to convert tildes in file names to hyphens, but doesn't update the relative markdown links, resulting in links that lead to 404 pages on the live site. Renamed the files to use hyphens (-r1, -r2) and updated the cross-references in the x86 and ARM context documentation. --- sdk-api-src/content/winnt/ns-winnt-arm64_nt_context.md | 4 ++-- .../winnt/{ns-winnt-context~r1.md => ns-winnt-context-r1.md} | 2 +- .../winnt/{ns-winnt-context~r2.md => ns-winnt-context-r2.md} | 2 +- sdk-api-src/content/winnt/ns-winnt-context.md | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) rename sdk-api-src/content/winnt/{ns-winnt-context~r1.md => ns-winnt-context-r1.md} (99%) rename sdk-api-src/content/winnt/{ns-winnt-context~r2.md => ns-winnt-context-r2.md} (96%) diff --git a/sdk-api-src/content/winnt/ns-winnt-arm64_nt_context.md b/sdk-api-src/content/winnt/ns-winnt-arm64_nt_context.md index 9bedaf93bdf..7199aac60ab 100644 --- a/sdk-api-src/content/winnt/ns-winnt-arm64_nt_context.md +++ b/sdk-api-src/content/winnt/ns-winnt-arm64_nt_context.md @@ -59,8 +59,8 @@ Contains processor-specific register data. The system uses CONTEXT struct | Architecture | API reference page | |--------------|--------------------| | x86 64-bit | [CONTEXT structure (x86 64-bit)](ns-winnt-context.md) | -| x86 32-bit | [CONTEXT structure (x86 32-bit)](ns-winnt-context~r2.md) | -| Arm32 | [CONTEXT structure (Arm32)](ns-winnt-context~r1.md) | +| x86 32-bit | [CONTEXT structure (x86 32-bit)](ns-winnt-context-r2.md) | +| Arm32 | [CONTEXT structure (Arm32)](ns-winnt-context-r1.md) | ## -struct-fields diff --git a/sdk-api-src/content/winnt/ns-winnt-context~r1.md b/sdk-api-src/content/winnt/ns-winnt-context-r1.md similarity index 99% rename from sdk-api-src/content/winnt/ns-winnt-context~r1.md rename to sdk-api-src/content/winnt/ns-winnt-context-r1.md index 5cc9f1720f7..a1edd0be0c8 100644 --- a/sdk-api-src/content/winnt/ns-winnt-context~r1.md +++ b/sdk-api-src/content/winnt/ns-winnt-context-r1.md @@ -55,7 +55,7 @@ Contains processor-specific register data. The system uses CONTEXT struct | Architecture | API reference page | |--------------|--------------------| | x86 64-bit | [CONTEXT structure (x86 64-bit)](ns-winnt-context.md) | -| x86 32-bit | [CONTEXT structure (x86 32-bit)](ns-winnt-context~r2.md) | +| x86 32-bit | [CONTEXT structure (x86 32-bit)](ns-winnt-context-r2.md) | | Arm64 | [ARM64_NT_CONTEXT structure](ns-winnt-arm64_nt_context.md) | diff --git a/sdk-api-src/content/winnt/ns-winnt-context~r2.md b/sdk-api-src/content/winnt/ns-winnt-context-r2.md similarity index 96% rename from sdk-api-src/content/winnt/ns-winnt-context~r2.md rename to sdk-api-src/content/winnt/ns-winnt-context-r2.md index 475ccdc3171..76bc205efdb 100644 --- a/sdk-api-src/content/winnt/ns-winnt-context~r2.md +++ b/sdk-api-src/content/winnt/ns-winnt-context-r2.md @@ -52,7 +52,7 @@ Contains processor-specific register data. The system uses CONTEXT struct | Architecture | API reference page | |--------------|--------------------| | x86 64-bit | [CONTEXT structure (x86 64-bit)](ns-winnt-context.md) | -| Arm32 | [CONTEXT structure (Arm32)](ns-winnt-context~r1.md) | +| Arm32 | [CONTEXT structure (Arm32)](ns-winnt-context-r1.md) | | Arm64 | [ARM64_NT_CONTEXT structure](ns-winnt-arm64_nt_context.md) | diff --git a/sdk-api-src/content/winnt/ns-winnt-context.md b/sdk-api-src/content/winnt/ns-winnt-context.md index 7aa6dda52b5..05b957ddeef 100644 --- a/sdk-api-src/content/winnt/ns-winnt-context.md +++ b/sdk-api-src/content/winnt/ns-winnt-context.md @@ -59,8 +59,8 @@ Contains processor-specific register data. The system uses CONTEXT struct | Architecture | API reference page | |--------------|--------------------| -| x86 32-bit | [CONTEXT structure (x86 32-bit)](ns-winnt-context~r2.md) | -| Arm32 | [CONTEXT structure (Arm32)](ns-winnt-context~r1.md) | +| x86 32-bit | [CONTEXT structure (x86 32-bit)](ns-winnt-context-r2.md) | +| Arm32 | [CONTEXT structure (Arm32)](ns-winnt-context-r1.md) | | Arm64 | [ARM64_NT_CONTEXT structure](ns-winnt-arm64_nt_context.md) |