Skip to content

Commit 99e2f16

Browse files
authored
Fix broken links (and standardize keys) (#2926)
1 parent 69f5460 commit 99e2f16

File tree

9 files changed

+49
-53
lines changed

9 files changed

+49
-53
lines changed

docs/android/emulator/index.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,22 +44,22 @@ Common actions can be performed in the emulator via its panel on the right hand
4444

4545
The following gestures can be simulated in the emulator:
4646

47-
| Gesture | Description |
48-
| ------- | ----------- |
49-
| Tap | Press and release the primary mouse button. |
50-
| Double tap | Double-click and then release the primary mouse button. |
51-
| Drag | Press and hold the primary mouse button, move the item, and then release. |
52-
| Touch and hold | Press the primary mouse button, hold, and release. |
53-
| Pinch | Press the CTRL key on Windows, or the Command key on macOS, to display a pinch gesture multi-touch interface. The mouse acts as the first finger, which can be moved by dragging the cursor. The second finger is across from the anchor point. Pressing the left mouse button simulates touching both points, and releasing simulates removing both points. |
54-
| Swipe | Press and hold the primary mouse button, swipe, and then release. |
47+
| Gesture | Description |
48+
|----------------|---------------------------------------------------------------------------|
49+
| Tap | Press and release the primary mouse button. |
50+
| Double tap | Double-click and then release the primary mouse button. |
51+
| Drag | Press and hold the primary mouse button, move the item, and then release. |
52+
| Touch and hold | Press the primary mouse button, hold, and release. |
53+
| Pinch | Press the Ctrl key on Windows or the Command key on macOS to display a pinch gesture multi-touch interface. The mouse acts as the first finger, which can be moved by dragging the cursor. The second finger is across from the anchor point. Pressing the left mouse button simulates touching both points, and releasing simulates removing both points. |
54+
| Swipe | Press and hold the primary mouse button, swipe, and then release. |
5555
| Vertical swipe | Open a vertical menu on the screen and use the mouse scroll wheel to scroll through the menu items. |
5656

5757
## Advanced emulator scenarios
5858

5959
You might want to test your app on a virtual device using more than just basic touch gestures. For example, you might want to simulate different network conditions. The following table lists where to find more information about advanced Android emulator scenarios:
6060

61-
| Scenarios | More information |
62-
| ------- | ---------------- |
61+
| Scenarios | More information |
62+
|----------------|------------------|
6363
| Use the camera | [Camera support](https://developer.android.com/studio/run/emulator-use-camera) on developer.android.com |
6464
| Install and add files | [Install and add files](https://developer.android.com/studio/run/emulator-install-add-files) on developer.android.com |
6565
| Use Wi-Fi | [Wi-Fi](https://developer.android.com/studio/run/emulator-wifi) on developer.android.com |

docs/android/emulator/mac-with-windows-vm.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ To connect to the Android Emulator running on a Mac from a Windows VM, by using
5151

5252
In this example, `127.0.0.1 5555` denotes the odd-numbered port on the loopback interface.
5353

54-
Provided that the `nc` command keeps running in a Terminal window, packets will be forwarded as expected. Once you've finished using the emulator, you can stop `nc` performing packet forwarding by pressing <kbd>CTRL+C</kbd> in the Terminal window.
54+
Provided that the `nc` command keeps running in a Terminal window, packets will be forwarded as expected. Once you've finished using the emulator, you can stop `nc` performing packet forwarding by pressing <kbd>Ctrl+C</kbd> in the Terminal window.
5555
5656
1. In your Windows VM, open **Command Prompt**.
5757
1. In **Command Prompt**, connect to the emulator:
@@ -63,7 +63,7 @@ To connect to the Android Emulator running on a Mac from a Windows VM, by using
6363
Replace `ip-address-of-the-mac` in this example with the IP address of your Mac, and 5555 with the port you've used from the previous step.
6464

6565
> [!NOTE]
66-
> Command line access to `adb` can be obtained in Visual Studio through the **Tools > Android > Android Adb Command Prompt...** menu item.
66+
> Command line access to `adb` can be obtained in Visual Studio through the **Tools > Android > Android Adb Command Prompt...** menu item.
6767

6868
When the connection is completed Visual Studio will display the emulator as a debug target under **Android Local Devices**, which you can use to deploy your app to the emulator.
6969

@@ -115,6 +115,6 @@ To connect to the Android Emulator running on a Mac from a Windows virtual machi
115115
In this example, `localhost:15555` denotes the local port on Windows
116116
117117
> [!NOTE]
118-
> Command line access to `adb` can be obtained in Visual Studio through the **Tools > Android > Android Adb Command Prompt...** menu item.
118+
> Command line access to `adb` can be obtained in Visual Studio through the **Tools > Android > Android Adb Command Prompt...** menu item.
119119
120120
When the connection is completed Visual Studio will display the emulator as a debug target under **Android Local Devices**, which you can use to deploy your app to the emulator.

docs/fundamentals/accessibility.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,13 +136,13 @@ The following example demonstrates setting this attached property:
136136
<Label Text="Paragraphs of text go here." />
137137
<Label Text="Installation"
138138
SemanticProperties.HeadingLevel="Level2" />
139-
<Label Text="Paragraphs of text go here." />
139+
<Label Text="Paragraphs of text go here." />
140140
<Label Text="Build your first app"
141141
SemanticProperties.HeadingLevel="Level3" />
142-
<Label Text="Paragraphs of text go here." />
142+
<Label Text="Paragraphs of text go here." />
143143
<Label Text="Publish your app"
144144
SemanticProperties.HeadingLevel="Level4" />
145-
<Label Text="Paragraphs of text go here." />
145+
<Label Text="Paragraphs of text go here." />
146146
```
147147

148148
Alternatively, it can be set in C#:
@@ -386,7 +386,7 @@ For alternative methods of enabling VoiceOver, see [Turn VoiceOver on or off on
386386

387387
### Enable Narrator
388388

389-
Narrator is the primary screen reader used on Windows. Narrator can be enabled by pressing the **Windows logo key** + **Ctrl** + **Enter** together. These keys can be pressed again to stop Narrator.
389+
Narrator is the primary screen reader used on Windows. Narrator can be enabled by pressing the **Windows logo key** + **Ctrl** + **Enter** together. Press these keys again to stop Narrator.
390390

391391
For more information about Narrator, see [Complete guide to Narrator](https://support.microsoft.com/windows/complete-guide-to-narrator-e4397a0d-ef4f-b386-d8ae-c172f109bdb1).
392392

docs/get-started/first-app.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ In this tutorial, you'll create your first .NET MAUI app in Visual Studio Code o
242242

243243
:::image type="content" source="media/first-app/vscode/create-new-project.png" alt-text="Screenshot of the create new project button in Visual Studio Code.":::
244244

245-
Alternatively, press <kbd>CTRL+SHIFT+P</kbd> on Windows, or <kbd>CMD+SHIFT+P</kbd> on macOS, and then the **.NET: New Project...** command.
245+
Alternatively, press <kbd>Ctrl+Shift+P</kbd> on Windows, or <kbd>Cmd+Shift+P</kbd> on macOS, and then the **.NET: New Project...** command.
246246

247247
1. In the command palette, select the **.NET MAUI App** template:
248248

@@ -270,14 +270,14 @@ In this tutorial, you'll create your first .NET MAUI app in Visual Studio Code o
270270
:::zone pivot="devices-android"
271271

272272
<!-- markdownlint-disable MD029 -->
273-
7. In Visual Studio Code, verify that your Android environment is configured correctly by pressing <kbd>CTRL+SHIFT+P</kbd> on Windows, or <kbd>CMD+SHIFT+P</kbd> on macOS, and then selecting **.NET MAUI: Configure Android**, followed by **Refresh Android environment**. Any detected errors must be addressed.
273+
7. In Visual Studio Code, verify that your Android environment is configured correctly by pressing <kbd>Ctrl+Shift+P</kbd> on Windows, or <kbd>Cmd+Shift+P</kbd> on macOS, and then selecting **.NET MAUI: Configure Android**, followed by **Refresh Android environment**. Any detected errors must be addressed.
274274
<!-- markdownlint-enable MD029 -->
275275

276276
1. In the status bar at the bottom of Visual Studio Code, press on the curly brackets symbol **{ }** and ensure that the **Debug Target** is set to a specific Android emulator:
277277

278278
:::image type="content" source="media/first-app/vscode/android-debug-target.png" alt-text="Screenshot of the debug target in Visual Studio Code set to an Android emulator.":::
279279

280-
You can also set the debug target by pressing <kbd>CTRL+SHIFT+P</kbd> on Windows, or <kbd>CMD+SHIFT+P</kbd> on macOS, and selecting **.NET MAUI: Pick Android Device** from the command palette.
280+
You can also set the debug target by pressing <kbd>Ctrl+Shift+P</kbd> on Windows, or <kbd>Cmd+Shift+P</kbd> on macOS, and selecting **.NET MAUI: Pick Android Device** from the command palette.
281281

282282
1. Build and run the app on Android by pressing <kbd>F5</kbd> or by pressing the **Run** button in the upper right corner of Visual Studio Code:
283283

@@ -302,14 +302,14 @@ To debug the app on an Android device:
302302
:::zone pivot="devices-ios"
303303

304304
<!-- markdownlint-disable MD029 -->
305-
7. In Visual Studio Code, verify that your Apple environment is configured correctly by pressing <kbd>CMD+SHIFT+P</kbd> and then selecting **.NET MAUI: Configure Apple**, followed by **Refresh Apple environment**. Any detected errors must be addressed.
305+
7. In Visual Studio Code, verify that your Apple environment is configured correctly by pressing <kbd>Cmd+Shift+P</kbd> and then selecting **.NET MAUI: Configure Apple**, followed by **Refresh Apple environment**. Any detected errors must be addressed.
306306
<!-- markdownlint-enable MD029 -->
307307

308308
1. In the status bar at the bottom of Visual Studio Code, press on the curly brackets symbol **{ }** and ensure that the **Debug Target** is set to a specific iOS simulator:
309309

310310
:::image type="content" source="media/first-app/vscode/ios-debug-target.png" alt-text="Screenshot of the debug target in Visual Studio Code set to an iOS simulator.":::
311311

312-
You can also set the debug target by pressing <kbd>CMD+SHIFT+P</kbd> and selecting **.NET MAUI: Pick iOS Device** from the command palette.
312+
You can also set the debug target by pressing <kbd>Cmd+Shift+P</kbd> and selecting **.NET MAUI: Pick iOS Device** from the command palette.
313313

314314
1. Build and run the app on iOS by pressing <kbd>F5</kbd> or by pressing the **Run** button in the upper right corner of Visual Studio Code:
315315

@@ -336,14 +336,14 @@ To debug the app on an iOS device:
336336
:::zone pivot="devices-maccatalyst"
337337

338338
<!-- markdownlint-disable MD029 -->
339-
7. In Visual Studio Code, verify that your Apple environment is configured correctly by pressing <kbd>CMD+SHIFT+P</kbd> and then selecting **.NET MAUI: Configure Apple**, followed by **Refresh Apple environment**. Any detected errors must be addressed.
339+
7. In Visual Studio Code, verify that your Apple environment is configured correctly by pressing <kbd>Cmd+Shift+P</kbd> and then selecting **.NET MAUI: Configure Apple**, followed by **Refresh Apple environment**. Any detected errors must be addressed.
340340
<!-- markdownlint-enable MD029 -->
341341

342342
1. In the status bar at the bottom of Visual Studio Code, press on the curly brackets symbol **{ }** and ensure that the **Debug Target** is set to your Mac:
343343

344344
:::image type="content" source="media/first-app/vscode/mac-debug-target.png" alt-text="Screenshot of the debug target in Visual Studio Code set to macOS.":::
345345

346-
You can also set the debug target by pressing <kbd>CMD+SHIFT+P</kbd> and selecting **.NET MAUI: Pick macOS Device** from the command palette.
346+
You can also set the debug target by pressing <kbd>Cmd+Shift+P</kbd> and selecting **.NET MAUI: Pick macOS Device** from the command palette.
347347

348348
1. Build and run the app on macOS by pressing <kbd>F5</kbd> or by pressing the **Run** button in the upper right corner of Visual Studio Code:
349349

@@ -364,7 +364,7 @@ To debug the app on an iOS device:
364364

365365
:::image type="content" source="media/first-app/vscode/windows-debug-target.png" alt-text="Screenshot of the debug target in Visual Studio Code set to Windows.":::
366366

367-
You can also set the debug target by pressing <kbd>CTRL+SHIFT+P</kbd> and selecting **.NET MAUI: Pick Windows Device** from the command palette.
367+
You can also set the debug target by pressing <kbd>Ctrl+Shift+P</kbd> and selecting **.NET MAUI: Pick Windows Device** from the command palette.
368368
<!-- markdownlint-enable MD029 -->
369369

370370
1. Build and run the app on Windows by pressing <kbd>F5</kbd> or by pressing the **Run** button in the upper right corner of Visual Studio Code:

docs/get-started/installation.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ To download and install the Java SDK, and configure Visual Studio Code to use it
196196
> [!NOTE]
197197
> If you install the OpenJDK on Windows via MSI, you can opt into the installer setting the `JAVA_HOME` environmental variable.
198198
199-
1. In Visual Studio Code, press <kbd>CTRL+SHIFT+P</kbd> on Windows, or <kbd>CMD+SHIFT+P</kbd> on macOS, and then select **.NET MAUI: Configure Android**, followed by **Select Java SDK location** to set the Java SDK path at the user/workspace level.
199+
1. In Visual Studio Code, press <kbd>Ctrl+Shift+P</kbd> on Windows, or <kbd>Cmd+Shift+P</kbd> on macOS, and then select **.NET MAUI: Configure Android**, followed by **Select Java SDK location** to set the Java SDK path at the user/workspace level.
200200
1. Configure the Java SDK path in your .csproj file by setting the `$(JavaSdkDirectory)` MSBuild property to the OpenJDK path. This will define the Java SDK path at the project level.
201201
202202
#### Download and install the Android SDK
@@ -211,10 +211,10 @@ To download and install the Android SDK, and configure Visual Studio Code to use
211211
212212
1. Ensure that you've configured the path to the Android SDK via one of the following approaches:
213213
1. Set the `ANDROID_HOME` environment variable to define the Android SDK path for your machine. This is the recommended approach, which defines the Android SDK path at the machine level.
214-
1. In Visual Studio Code, press <kbd>CTRL+SHIFT+P</kbd> on Windows, or <kbd>CMD+SHIFT+P</kbd> on macOS, and then select **.NET MAUI: Configure Android**, followed by **Select Android SDK location** to set the Android SDK path at the user/workspace level.
214+
1. In Visual Studio Code, press <kbd>Ctrl+Shift+P</kbd> on Windows, or <kbd>Cmd+Shift+P</kbd> on macOS, and then select **.NET MAUI: Configure Android**, followed by **Select Android SDK location** to set the Android SDK path at the user/workspace level.
215215
1. Configure the Android SDK path in your .csproj file by setting the `$(AndroidSdkDirectory)` MSBuild property to the Android SDK path. This will define the Android SDK path at the project level.
216216
217-
1. In Visual Studio Code, verify that your Android environment is configured correctly by pressing <kbd>CTRL+SHIFT+P</kbd> on Windows, or <kbd>CMD+SHIFT+P</kbd> on macOS, and then selecting **.NET MAUI: Configure Android**, followed by **Refresh Android environment**. Any detected errors must be addressed:
217+
1. In Visual Studio Code, verify that your Android environment is configured correctly by pressing <kbd>Ctrl+Shift+P</kbd> on Windows, or <kbd>Cmd+Shift+P</kbd> on macOS, and then selecting **.NET MAUI: Configure Android**, followed by **Refresh Android environment**. Any detected errors must be addressed:
218218
- In the command palette, select **.NET MAUI: Configure Android** followed by both **Select Android SDK location** and **Select Android SDK location** and validate that they correctly point to installations of each. On Windows, if you install the SDKs via Visual Studio, OpenJDK will be located at *C:\Program Files\Microsoft* and the Android SDK will be located at *C:\Program Files (x86)\Android\android-sdk*.
219219
- Ensure that your Android SDK folder has sub-folders such as *build-tools*, *cmdline-tools*, and *platform-tools*.
220220
- Ensure that your OpenJDK folder has sub-folders such as *bin*, *lib*, and more.
@@ -307,14 +307,14 @@ To set up your Mac for .NET MAUI development on iOS and Mac Catalyst with Visual
307307
```
308308

309309
1. Launch Xcode and accept any license agreements. If simulators don't start installing, navigate to **Xcode > Settings > Components** and install your chosen simulator runtimes.
310-
1. In Visual Studio Code, verify that your Apple environment is configured correctly by pressing <kbd>CMD+SHIFT+P</kbd> and then selecting **.NET MAUI: Configure Apple**, followed by **Refresh Apple environment**. Any detected errors must be addressed:
310+
1. In Visual Studio Code, verify that your Apple environment is configured correctly by pressing <kbd>Cmd+Shift+P</kbd> and then selecting **.NET MAUI: Configure Apple**, followed by **Refresh Apple environment**. Any detected errors must be addressed:
311311
- Ensure you've ran `xcode-select --install` in a terminal.
312312
- If you receive an error that Xcode hasn't been found, run `xcode-select -p` in a terminal and check that it returns a path to your Xcode installation.
313313
- Open Xcode to ensure it loads correctly, and then navigate to **Xcode > Settings > Location** and check that the **Command Line Tools** field is pointing to the correct Xcode installation.
314314

315315
## Troubleshooting
316316

317-
If you encounter issues when installing the .NET MAUI extension in Visual Studio Code, more information about the issues can be found by navigating to the **Output** window (<kbd>CTRL+SHIFT+U</kbd> on Windows or <kbd>CMD+SHIFT+U</kbd> on macOS) and selecting **.NET MAUI** in the drop-down.
317+
If you encounter issues when installing the .NET MAUI extension in Visual Studio Code, more information about the issues can be found by navigating to the **Output** window (<kbd>Ctrl+Shift+U</kbd> on Windows or <kbd>Cmd+Shift+U</kbd> on macOS) and selecting **.NET MAUI** in the drop-down.
318318

319319
## Provide feedback
320320

@@ -387,7 +387,7 @@ This walkthrough can also be accessed from the command palette. Select **Welcome
387387

388388
### Access the improved setup experience
389389

390-
1. In Visual Studio Code, press <kbd>CTRL+SHIFT+P</kbd> on Windows, or <kbd>CMD+SHIFT+P</kbd> on macOS, select **Preferences: Open Settings (UI)**.
390+
1. In Visual Studio Code, press <kbd>Ctrl+Shift+P</kbd> on Windows, or <kbd>Cmd+Shift+P</kbd> on macOS, select **Preferences: Open Settings (UI)**.
391391

392392
:::image type="content" source="media/installation/vscode/settings.png" alt-text="Screenshot of the Visual Studio Code settings menu option.":::
393393

docs/macios/xcsync.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ dotnet tool install dotnet-xcsync -g --prerelease --add-source https://pkgs.dev.
4646

4747
## Troubleshooting
4848

49-
To see details on errors related to xcsync, navigate to the **Output** window (<kbd>CMD + Shift + u </kbd>) and select **.NET MAUI - xcsync** in the drop-down. If you are facing issues, please [report an issue](#provide-feedback).
49+
To see details on errors related to xcsync, navigate to the **Output** window (<kbd>Cmd + Shift + U</kbd>) and select **.NET MAUI - xcsync** in the drop-down. If you are facing issues, please [report an issue](#provide-feedback).
5050

5151
## Provide feedback
5252

53-
Please check existing [Known Issues](https://github.com/dotnet/xcsync/issues) before filing a new issue or suggestion.
53+
Please check existing [Known issues](https://github.com/dotnet/xcsync/issues) before filing a new issue or suggestion.
5454

5555
<!-- markdownlint-disable MD025 -->
5656
# [CLI](#tab/cli)

0 commit comments

Comments
 (0)