Skip to content

Commit fe643fa

Browse files
committed
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.
1 parent 8fe437c commit fe643fa

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

sdk-api-src/content/winnt/ns-winnt-arm64_nt_context.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ Contains processor-specific register data. The system uses <b>CONTEXT</b> struct
5959
| Architecture | API reference page |
6060
|--------------|--------------------|
6161
| x86 64-bit | [CONTEXT structure (x86 64-bit)](ns-winnt-context.md) |
62-
| x86 32-bit | [CONTEXT structure (x86 32-bit)](ns-winnt-context~r2.md) |
63-
| Arm32 | [CONTEXT structure (Arm32)](ns-winnt-context~r1.md) |
62+
| x86 32-bit | [CONTEXT structure (x86 32-bit)](ns-winnt-context-r2.md) |
63+
| Arm32 | [CONTEXT structure (Arm32)](ns-winnt-context-r1.md) |
6464

6565

6666
## -struct-fields

sdk-api-src/content/winnt/ns-winnt-context~r1.md renamed to sdk-api-src/content/winnt/ns-winnt-context-r1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Contains processor-specific register data. The system uses <b>CONTEXT</b> struct
5555
| Architecture | API reference page |
5656
|--------------|--------------------|
5757
| x86 64-bit | [CONTEXT structure (x86 64-bit)](ns-winnt-context.md) |
58-
| x86 32-bit | [CONTEXT structure (x86 32-bit)](ns-winnt-context~r2.md) |
58+
| x86 32-bit | [CONTEXT structure (x86 32-bit)](ns-winnt-context-r2.md) |
5959
| Arm64 | [ARM64_NT_CONTEXT structure](ns-winnt-arm64_nt_context.md) |
6060

6161

sdk-api-src/content/winnt/ns-winnt-context~r2.md renamed to sdk-api-src/content/winnt/ns-winnt-context-r2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Contains processor-specific register data. The system uses <b>CONTEXT</b> struct
5252
| Architecture | API reference page |
5353
|--------------|--------------------|
5454
| x86 64-bit | [CONTEXT structure (x86 64-bit)](ns-winnt-context.md) |
55-
| Arm32 | [CONTEXT structure (Arm32)](ns-winnt-context~r1.md) |
55+
| Arm32 | [CONTEXT structure (Arm32)](ns-winnt-context-r1.md) |
5656
| Arm64 | [ARM64_NT_CONTEXT structure](ns-winnt-arm64_nt_context.md) |
5757

5858

sdk-api-src/content/winnt/ns-winnt-context.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ Contains processor-specific register data. The system uses <b>CONTEXT</b> struct
5959

6060
| Architecture | API reference page |
6161
|--------------|--------------------|
62-
| x86 32-bit | [CONTEXT structure (x86 32-bit)](ns-winnt-context~r2.md) |
63-
| Arm32 | [CONTEXT structure (Arm32)](ns-winnt-context~r1.md) |
62+
| x86 32-bit | [CONTEXT structure (x86 32-bit)](ns-winnt-context-r2.md) |
63+
| Arm32 | [CONTEXT structure (Arm32)](ns-winnt-context-r1.md) |
6464
| Arm64 | [ARM64_NT_CONTEXT structure](ns-winnt-arm64_nt_context.md) |
6565

6666

0 commit comments

Comments
 (0)