Skip to content

Commit d5409ab

Browse files
authored
Hack week 2025: Fix linting errors in codespaces folders (#53931)
1 parent fcf8f12 commit d5409ab

File tree

9 files changed

+14
-14
lines changed

9 files changed

+14
-14
lines changed

content/codespaces/developing-in-a-codespace/creating-a-codespace-for-a-repository.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ If you want to use Git hooks for your codespace, then you should set up hooks us
7272
{% data reusables.repositories.navigate-to-repo %}
7373
1. Under the repository name, select the branch dropdown menu, which is labeled with the name of the current branch, then click the branch you want to create a codespace for.
7474

75-
![Screenshot of the expanded branch dropdown menu, listing various branches. The dropdown menu, labeled with a branch icon and "trunk," is highlighted with a dark orange outline.](/assets/images/help/codespaces/branch-drop-down.png)
75+
![Screenshot of the expanded branch dropdown menu, listing various branches. The "trunk" dropdown menu, shown with a branch icon, is outlined in orange.](/assets/images/help/codespaces/branch-drop-down.png)
7676

7777
1. Click the **{% octicon "code" aria-hidden="true" %} Code** button, then click the **Codespaces** tab.
7878

content/codespaces/developing-in-a-codespace/creating-a-codespace-from-a-template.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Templates maintained by {% data variables.product.company_short %}, including th
5252
{% data reusables.codespaces.view-all-templates-step %}
5353
1. Optionally, to view the template repository containing the files for a template, click the name of the template.
5454

55-
![Screenshot of the "Explore quick start templates" section of the codespaces page. Three templates are listed, and the names of the templates are highlighted with orange outlines.](/assets/images/help/codespaces/react-template-name.png)
55+
![Screenshot of the "Explore quick start templates" section. Three templates are listed. The templates names are outlined in orange.](/assets/images/help/codespaces/react-template-name.png)
5656

5757
1. Under the name of the template you want to launch, click **Use this template**.
5858

content/codespaces/developing-in-a-codespace/forwarding-ports-in-your-codespace.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Port forwarding gives you access to TCP ports running within your codespace. For
2525
{% data reusables.codespaces.navigate-to-ports-tab %}
2626
1. Under the list of ports, click **Add port**.
2727

28-
![Screenshot of the "Add port" button.](/assets/images/help/codespaces/add-port-button.png)
28+
![Screenshot of the "Add port" button for a codespace.](/assets/images/help/codespaces/add-port-button.png)
2929

3030
1. Type the port number or address, then press Enter.
3131

@@ -69,7 +69,7 @@ By default, {% data variables.product.prodname_github_codespaces %} forwards por
6969
{% data reusables.codespaces.navigate-to-ports-tab %}
7070
1. Under the list of ports, click **Add port**.
7171

72-
![Screenshot of the "Add port" button.](/assets/images/help/codespaces/add-port-button.png)
72+
![Screenshot of the "Add port" button for a codespace.](/assets/images/help/codespaces/add-port-button.png)
7373

7474
1. Type the port number or address, then press Enter.
7575

content/codespaces/getting-started/quickstart.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Now that you've made a few changes, you can use the integrated terminal or the s
7171

7272
1. To commit your staged changes, type a commit message describing the change you've made, then click **Commit**.
7373

74-
![Screenshot of the "Source control" side bar. A commit message, with "Change haiku text and styles" entered, and the "Commit" button are highlighted with an orange outline.](/assets/images/help/codespaces/vscode-commit-button.png)
74+
![Screenshot of the "Source control" side bar. The commit message, "Change haiku text and styles," and the "Commit" button are outlined in orange.](/assets/images/help/codespaces/vscode-commit-button.png)
7575

7676
1. Click **Publish Branch**.
7777

@@ -96,7 +96,7 @@ When you connect to a codespace using the browser, or the {% data variables.prod
9696

9797
1. In the search bar, type `fairyfloss` and click **Install**.
9898

99-
![Screenshot of the "Extensions: Marketplace" side bar. "fairyfloss" is entered into the search box and, below it, the "fairyfloss" extension is displayed, with an "Install" button.](/assets/images/help/codespaces/add-extension.png)
99+
![Screenshot of "Extensions: Marketplace". The search box shows "fairyfloss." The results show the "fairyfloss" extension with an "Install" button.](/assets/images/help/codespaces/add-extension.png)
100100

101101
1. Select the `fairyfloss` theme by selecting it from the list.
102102

content/codespaces/prebuilding-your-codespaces/managing-prebuilds.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Disabling the workflow runs for a prebuild configuration is useful if you need t
6969
1. On the {% data variables.product.prodname_codespaces %} page of your repository settings, click the ellipsis to the right of the prebuild configuration you want to disable.
7070
1. In the dropdown menu, click **Disable runs**.
7171

72-
![Screenshot of the options dropdown menu for a configuration, shown by clicking a button labeled with three dots. The "Disable runs" option is selected.](/assets/images/help/codespaces/prebuilds-disable.png)
72+
![Screenshot of the prebuild configuration dropdown menu, shown by clicking a button labeled with three dots. The "Disable runs" option is selected.](/assets/images/help/codespaces/prebuilds-disable.png)
7373

7474
1. To confirm that you want to disable this configuration, click **OK**.
7575

@@ -85,7 +85,7 @@ After you delete a prebuild configuration, workflow runs for that configuration
8585
1. On the {% data variables.product.prodname_codespaces %} page of your repository settings, click the ellipsis to the right of the prebuild configuration you want to delete.
8686
1. In the dropdown menu, click **Delete**.
8787

88-
![Screenshot of the options dropdown menu for a configuration, displayed by clicking a button labeled with three dots. The "Delete" option is selected.](/assets/images/help/codespaces/prebuilds-delete.png)
88+
![Screenshot of the prebuild configuration dropdown menu, displayed by clicking a button labeled with three dots. The "Delete" option is selected.](/assets/images/help/codespaces/prebuilds-delete.png)
8989

9090
1. Click **OK** to confirm the deletion.
9191

@@ -96,7 +96,7 @@ It may be useful to manually trigger a workflow run for a prebuild configuration
9696
1. On the {% data variables.product.prodname_codespaces %} page of your repository settings, click the ellipsis to the right of the prebuild configuration whose workflow you want to trigger.
9797
1. In the dropdown menu, click **Manually trigger**.
9898

99-
![Screenshot of the options dropdown menu for a configuration, shown by clicking a button labeled with three dots. The "Manually trigger" option is selected.](/assets/images/help/codespaces/prebuilds-manually-trigger.png)
99+
![Screenshot of the prebuild configuration dropdown menu, shown by clicking a button labeled with three dots. The "Manually trigger" option is selected.](/assets/images/help/codespaces/prebuilds-manually-trigger.png)
100100

101101
## Further reading
102102

content/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/introduction-to-dev-containers.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ You can add a predefined dev container configuration either while working in a c
146146

147147
1. Click the definition you want to use.
148148

149-
![Screenshot of the "Add Development Container Configuration Files" menu with the dropdown showing options such as "Alpine," "C# (.NET)," "C++," and "Debian."](/assets/images/help/codespaces/predefined-container-definitions-list.png)
149+
![Screenshot of the "Add Development Container Configuration Files" menu showing options such as "Alpine," "C# (.NET)," "C++," and "Debian."](/assets/images/help/codespaces/predefined-container-definitions-list.png)
150150

151151
1. Follow the prompts to customize your definition.
152152
1. Click **OK**.

content/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/setting-up-your-java-project-for-codespaces.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ With your dev container configuration added and a basic understanding of what ev
186186
1. Run the application by pressing `F5`.
187187
1. If a "toast" notification message is displayed at the bottom right corner of {% data variables.product.prodname_vscode_shortname %}, asking whether you want to switch to standard mode, click **Yes**.
188188

189-
![Screenshot of a popup message: "Run/Debug feature requires Java language server to run in Standard mode. Do you want to switch it to Standard mode now?"](/assets/images/help/codespaces/switch-to-standard-mode.png)
189+
![Screenshot of the message: "Run/Debug feature requires Java language server to run in Standard mode. Do you want to switch it to Standard mode now?"](/assets/images/help/codespaces/switch-to-standard-mode.png)
190190

191191
1. When the project files have been imported, click the **Debug Console** tab to see the program output.
192192

content/codespaces/setting-up-your-project-for-codespaces/setting-up-your-repository/facilitating-quick-creation-and-resumption-of-codespaces.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ You can use the "Share a deep link" option to configure more options for the cod
4343
{% data reusables.repositories.navigate-to-repo %}
4444
1. If you want to create a link for a branch other than the repository's default branch, under the repository name, click the button labeled with the name of the current branch. In the dropdown menu, select the branch for which you want to create a link.
4545

46-
![Screenshot of the expanded branch dropdown menu, listing various branches. The dropdown menu, labeled with a branch icon and "trunk," is highlighted with a dark orange outline.](/assets/images/help/codespaces/branch-drop-down.png)
46+
![Screenshot of the branch dropdown menu, listing various branches. The dropdown menu, labeled with a branch icon and "trunk," is outlined in orange.](/assets/images/help/codespaces/branch-drop-down.png)
4747

4848
1. Click the **{% octicon "code" aria-hidden="true" %} Code** button, then click the **Codespaces** tab.
4949
1. To open the "Share codespace configuration" window, at the top right of the **Codespaces** tab, select {% octicon "kebab-horizontal" aria-label="Codespace repository configuration" %}, then click **Share a deep link**.
@@ -94,4 +94,4 @@ This type of URL is useful, for instance, in a README for your repository as it
9494

9595
The example Markdown is rendered like this:
9696

97-
[![Open in GitHub Codespaces.](https://github.com/codespaces/badge.svg)](https://codespaces.new/github/docs)
97+
[![Open in GitHub Codespaces.](https://github.com/codespaces/badge.svg)](https://codespaces.new/github/docs) <!-- markdownlint-disable-line GHD033 -->
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
1. Access the {% data variables.product.prodname_vscode_command_palette_shortname %} (<kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>P</kbd> / <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd>), then start typing "rebuild". Click **Codespaces: Rebuild Container**.
22

3-
![Screenshot of the Command Palette with "rebuild container" entered in the text box and the "Codespace: Rebuild Container" option highlighted in the dropdown.](/assets/images/help/codespaces/codespaces-rebuild.png)
3+
![Screenshot of the Command Palette with a search for "rebuild container" and the "Codespace: Rebuild Container" option highlighted in the dropdown.](/assets/images/help/codespaces/codespaces-rebuild.png)
44

55
{% indented_data_reference reusables.codespaces.full-rebuild-tip spaces=3 %}

0 commit comments

Comments
 (0)