Skip to content

Commit 648bb38

Browse files
authored
Hack week 2025: fix "outdated version" warnings in get-started (#53890)
1 parent e1afe16 commit 648bb38

File tree

8 files changed

+9
-51
lines changed

8 files changed

+9
-51
lines changed

content/get-started/accessibility/github-command-palette.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ When you open the command palette, it shows your location at the top left and us
4141
![Screenshot of the command palette. "octo-org" is highlighted with an orange outline.](/assets/images/help/command-palette/command-palette-launch.png)
4242

4343
> [!NOTE]
44-
> * If you are editing Markdown text, open the command palette with <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>K</kbd> (Windows and Linux) or <kbd>Command</kbd>+<kbd>Option</kbd>+<kbd>K</kbd> (Mac).{% ifversion projects-v2 %}
45-
> * If you are working on a {% data variables.projects.project_v2 %}, a project-specific command palette is displayed instead. For more information, see [AUTOTITLE](/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/changing-the-layout-of-a-view).{% endif %}
44+
> * If you are editing Markdown text, open the command palette with <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>K</kbd> (Windows and Linux) or <kbd>Command</kbd>+<kbd>Option</kbd>+<kbd>K</kbd> (Mac).
45+
> * If you are working on a {% data variables.projects.project_v2 %}, a project-specific command palette is displayed instead. For more information, see [AUTOTITLE](/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/changing-the-layout-of-a-view).
4646
4747
### Customizing your {% data variables.product.prodname_command_palette %} keyboard shortcuts
4848

content/get-started/accessibility/keyboard-shortcuts.md

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ versions:
1818

1919
Typing <kbd>?</kbd> on {% data variables.product.prodname_dotcom %} brings up a dialog box that lists the keyboard shortcuts available for that page. You can use these keyboard shortcuts to perform actions across the site without using your mouse to navigate.
2020

21-
{% ifversion keyboard-shortcut-accessibility-setting %}
22-
You can disable character key shortcuts, while still allowing shortcuts that use modifier keys, in your accessibility settings. For more information, see [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/managing-accessibility-settings).{% endif %}
21+
You can disable character key shortcuts, while still allowing shortcuts that use modifier keys, in your accessibility settings. For more information, see [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/managing-accessibility-settings).
2322

2423
{% ifversion command-palette %}
2524
The {% data variables.product.prodname_command_palette %} also gives you quick access to a wide range of actions, without the need to remember keyboard shortcuts. For more information, see [AUTOTITLE](/get-started/accessibility/github-command-palette).
@@ -49,9 +48,7 @@ The following sections list some of the available keyboard shortcuts, organized
4948
|<kbd>G</kbd> <kbd>B</kbd> | Go to the **Projects** tab. For more information, see [AUTOTITLE](/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).
5049
| {% endif %} |
5150
|<kbd>G</kbd> <kbd>W</kbd> | Go to the **Wiki** tab. For more information, see [AUTOTITLE](/communities/documenting-your-project-with-wikis/about-wikis). |
52-
| {% ifversion discussions %} |
5351
|<kbd>G</kbd> <kbd>G</kbd> | Go to the **Discussions** tab. For more information, see [AUTOTITLE](/discussions/collaborating-with-your-community-using-discussions/about-discussions).
54-
| {% endif %} |
5552

5653
## Source code editing
5754

@@ -175,8 +172,6 @@ If you view a code file in a repository using the **Code** view and click on any
175172
|<kbd>Option</kbd> and click (Mac) or <kbd>Alt</kbd> and click (Windows/Linux) | Toggle between collapsing and expanding all outdated or resolved review comments in a pull request (for example, by holding down <kbd>Alt</kbd> and clicking **Show outdated** or **Hide outdated**) |
176173
|Click, then <kbd>Shift</kbd> and click | Comment on multiple lines of a pull request by clicking a line number, holding <kbd>Shift</kbd>, then clicking another line number. For more information, see [AUTOTITLE](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request).|
177174

178-
{% ifversion projects-v2 %}
179-
180175
## {% data variables.projects.projects_v2_caps %}
181176

182177
### Navigating a project
@@ -197,13 +192,11 @@ If you view a code file in a repository using the **Code** view and click on any
197192
|<kbd>Escape</kbd> | Cancel editing for the focused cell |
198193
|<kbd>Command</kbd>+<kbd>Shift</kbd>+<kbd>\ </kbd>(Mac) or <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>\ </kbd>(Windows/Linux) | Open row actions menu |
199194
|<kbd>Shift</kbd>+<kbd>Space</kbd> | Select item |
200-
|<kbd>Shift</kbd>+<kbd>↓</kbd> | Add cell {% ifversion projects-v2-board-keyboard-shorts %} or card{% endif %} below to selection |
201-
|<kbd>Shift</kbd>+<kbd>↑</kbd> | Add cell {% ifversion projects-v2-board-keyboard-shorts %}or card{% endif %} above to selection |
195+
|<kbd>Shift</kbd>+<kbd>↓</kbd> | Add cell or card below to selection |
196+
|<kbd>Shift</kbd>+<kbd>↑</kbd> | Add cell or card above to selection |
202197
|<kbd>Space</kbd> | Open selected item |
203198
|<kbd>e</kbd> | Archive selected items |
204199

205-
{% ifversion projects-v2-board-keyboard-shorts %}
206-
207200
### Moving cards on the board layout
208201

209202
| Keyboard shortcut | Description |
@@ -220,10 +213,6 @@ If you view a code file in a repository using the **Code** view and click on any
220213
|<kbd>→</kbd> | Move card(s) right |
221214
|<kbd>Command</kbd>+<kbd>→</kbd> (Mac) or </br> <kbd>Ctrl</kbd>+<kbd>→</kbd> (Windows/Linux) | Move card(s) to the rightmost column |
222215

223-
{% endif %}
224-
225-
{% endif %}
226-
227216
{% ifversion projects-v1 %}
228217

229218
## {% data variables.product.prodname_projects_v1_caps %}

content/get-started/exploring-integrations/featured-github-integrations.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ You can integrate Jira Cloud with your personal or organization account to scan
4646

4747
{% endif %}
4848

49-
{% ifversion slack-and-team-integrations %}
50-
5149
## Team communication tools
5250

5351
You can integrate your {% ifversion fpt or ghec %}personal{% elsif ghes %}user{% endif %} or organization account on {% data variables.location.product_location %} with third-party team communication tools, such as Slack or Microsoft Teams.
@@ -83,5 +81,3 @@ The {% data variables.product.prodname_dotcom %} for Teams app lets you subscrib
8381
You can also open and close issues, comment on your issues and pull requests, approve deployments, and see detailed references to issues and pull requests without leaving Microsoft Teams. The app will also ping you personally on Teams if you are mentioned as part of any {% data variables.product.prodname_dotcom %} notifications that you receive in your channels or personal chats.
8482

8583
For more information, see the integration's [README](https://github.com/integrations/microsoft-teams/blob/master/Readme.md) in the `integrations/microsoft-teams` repository.
86-
87-
{% endif %}

content/get-started/onboarding/getting-started-with-your-github-account.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,12 +153,9 @@ Notifications provide updates about the activity on {% data variables.product.pr
153153

154154
You can use {% data variables.product.prodname_pages %} to create and host a website directly from a repository on {% data variables.location.product_location %}. For more information, see [AUTOTITLE](/pages/getting-started-with-github-pages/about-github-pages).
155155

156-
{% ifversion discussions %}
157-
158156
### 9. Using {% data variables.product.prodname_discussions %}
159157

160158
You can enable {% data variables.product.prodname_discussions %} for your repository to help build a community around your project. Maintainers, contributors and visitors can use discussions to share announcements, ask and answer questions, and participate in conversations around goals. For more information, see [AUTOTITLE](/discussions/collaborating-with-your-community-using-discussions/about-discussions).
161-
{% endif %}
162159

163160
## Part 4: Customizing and automating your work on {% data variables.product.product_name %}
164161

content/get-started/using-github/communicating-on-github.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,10 @@ topics:
2222

2323
{% data variables.product.product_name %} provides built-in collaborative communication tools allowing you to interact closely with your community. This quickstart guide will show you how to pick the right tool for your needs.
2424

25-
{% ifversion discussions %}
26-
{% ifversion team-discussions %}
27-
You can create and participate in issues, pull requests, {% data variables.product.prodname_discussions %}, and team discussions, depending on the type of conversation you'd like to have.
28-
{% else %}
29-
You can create and participate in issues, pull requests, and {% data variables.product.prodname_discussions %}, depending on the type of conversation you'd like to have.
30-
{% endif %}
25+
{% ifversion team-discussions %}
26+
You can create and participate in issues, pull requests, {% data variables.product.prodname_discussions %}, and team discussions, depending on the type of conversation you'd like to have.
3127
{% else %}
32-
You can create and participate in issues, pull requests and team discussions, depending on the type of conversation you'd like to have.
28+
You can create and participate in issues, pull requests, and team discussions, depending on the type of conversation you'd like to have.
3329
{% endif %}
3430

3531
### {% data variables.product.prodname_github_issues %}
@@ -109,8 +105,6 @@ The **Files changed** tab of the pull request shows the implemented fix.
109105
* The user creates a pull request with the fix.
110106
* A repository maintainer reviews the pull request, comments on it, and merges it.
111107

112-
{% ifversion discussions %}
113-
114108
### Scenarios for {% data variables.product.prodname_discussions %}
115109

116110
* I have a question that's not necessarily related to specific files in the repository.
@@ -126,7 +120,6 @@ This example shows the {% data variables.product.prodname_discussions %} welcome
126120

127121
This community maintainer started a discussion to welcome the community, and to ask members to introduce themselves. This post fosters an inviting atmosphere for visitors and contributors. The post also clarifies that the team's happy to help with contributions to the repository.
128122

129-
{% endif %}
130123
{% ifversion team-discussions %}
131124

132125
### Scenarios for team discussions
@@ -184,9 +177,7 @@ For issues, for example, you can tag issues with labels for quicker searching an
184177

185178
For pull requests, you can create draft pull requests if your proposed changes are still a work in progress. Draft pull requests cannot be merged until they're marked as ready for review. For more information, see [AUTOTITLE](/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests#draft-pull-requests).
186179

187-
{% ifversion discussions %}
188180
For {% data variables.product.prodname_discussions %}, you can{% ifversion fpt or ghec %} set up a code of conduct and{% endif %} pin discussions that contain important information for your community. For more information, see [AUTOTITLE](/discussions/collaborating-with-your-community-using-discussions/about-discussions).
189-
{% endif %}
190181

191182
{% ifversion team-discussions %}For team discussions, you can edit or delete discussions on a team's page, and you can configure notifications for team discussions. For more information, see [AUTOTITLE](/organizations/collaborating-with-your-team/about-team-discussions).{% endif %}
192183

content/get-started/using-github/github-flow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ If your repository has checks configured to run on pull requests, you will see a
6767

6868
### Address review comments
6969

70-
Reviewers should leave questions, comments, and suggestions. Reviewers can comment on the whole pull request or add comments to specific lines{% ifversion pull-request-comment-on-file %} or files{% endif %}. You and reviewers can insert images or code suggestions to clarify comments. For more information, see [AUTOTITLE](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests).
70+
Reviewers should leave questions, comments, and suggestions. Reviewers can comment on the whole pull request or add comments to specific lines or files. You and reviewers can insert images or code suggestions to clarify comments. For more information, see [AUTOTITLE](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests).
7171

7272
You can continue to commit and push changes in response to the reviews. Your pull request will update automatically.
7373

content/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/about-writing-and-formatting-on-github.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ You can also interact with other users in pull requests and issues using feature
2222

2323
Every comment field on {% data variables.product.product_name %} contains a text formatting toolbar, which allows you to format your text without learning Markdown syntax. In addition to Markdown formatting like bold and italic styles and creating headers, links, and lists, the toolbar includes {% data variables.product.product_name %}-specific features such as @-mentions, task lists, and links to issues and pull requests.
2424

25-
{% ifversion fixed-width-font-gfm-fields %}
26-
2725
## Enabling fixed-width fonts in the editor
2826

2927
You can enable a fixed-width font in every comment field on {% data variables.product.product_name %}. Each character in a fixed-width, or monospace, font occupies the same horizontal space. This can make it easier to edit advanced Markdown structures such as tables and code snippets.
@@ -35,8 +33,6 @@ You can enable a fixed-width font in every comment field on {% data variables.pr
3533
1. Under "Markdown editor font preference", select **Use a fixed-width (monospace) font when editing Markdown**.
3634
![Screenshot of {% data variables.product.prodname_dotcom %} user settings for Markdown preference. The checkbox to use a fix-width font in Markdown is checked and outlined in dark orange.](/assets/images/help/writing/enable-fixed-width.png)
3735

38-
{% endif %}
39-
4036
## Further reading
4137

4238
* [{% data variables.product.prodname_dotcom %} Flavored Markdown Spec](https://github.github.com/gfm/)

content/get-started/writing-on-github/working-with-advanced-formatting/writing-mathematical-expressions.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,19 @@ Mathematical expressions rendering is available in {% data variables.product.pro
1717

1818
## Writing inline expressions
1919

20-
{% ifversion math-backtick-syntax %}
2120
There are two options for delimiting a math expression inline with your text. You can either surround the expression with dollar symbols (`$`), or start the expression with <code>$\`</code> and end it with <code>\`$</code>. The latter syntax is useful when the expression you are writing contains characters that overlap with markdown syntax. For more information, see [AUTOTITLE](/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax).
22-
{% else %}
23-
To include a math expression inline within your text, delimit the expression with dollar symbols `$`.
24-
{% endif %}
2521

2622
```text
2723
This sentence uses `$` delimiters to show math inline: $\sqrt{3x-1}+(1+x)^2$
2824
```
2925

3026
![Screenshot of rendered Markdown showing an inline mathematical expression: the square root of 3x minus 1 plus (1 plus x) squared.](/assets/images/help/writing/inline-math-markdown-rendering.png)
3127

32-
{% ifversion math-backtick-syntax %}
33-
3428
```text
3529
This sentence uses $\` and \`$ delimiters to show math inline: $`\sqrt{3x-1}+(1+x)^2`$
3630
```
3731

3832
![Screenshot of rendered Markdown showing an inline mathematical expression with backtick syntax: the square root of 3x minus 1 plus (1 plus x) squared.](/assets/images/help/writing/inline-backtick-math-markdown-rendering.png)
39-
{% endif %}
4033

4134
## Writing expressions as blocks
4235

@@ -51,8 +44,6 @@ $$\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \
5144

5245
![Screenshot of rendered Markdown showing a complex equation. Bold text reads "The Cauchy-Schwarz Inequality" above the formula for the inequality.](/assets/images/help/writing/math-expression-as-a-block-rendering.png)
5346

54-
{% ifversion math-fenced-blocks %}
55-
5647
Alternatively, you can use the <code>\`\`\`math</code> code block syntax to display a math expression as a block. With this syntax, you don't need to use `$$` delimiters. The following will render the same as above:
5748

5849
````text
@@ -63,8 +54,6 @@ Alternatively, you can use the <code>\`\`\`math</code> code block syntax to disp
6354
```
6455
````
6556

66-
{% endif %}
67-
6857
## Writing dollar signs in line with and within mathematical expressions
6958

7059
To display a dollar sign as a character in the same line as a mathematical expression, you need to escape the non-delimiter `$` to ensure the line renders correctly.

0 commit comments

Comments
 (0)