Skip to content

Commit d256e14

Browse files
authored
Merge pull request github#26359 from github/repo-sync
repo sync
2 parents 8968ed1 + d8ef545 commit d256e14

File tree

8 files changed

+434
-82
lines changed

8 files changed

+434
-82
lines changed

components/article/ToolPicker.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ const supportedTools = [
2020
'vscode',
2121
'importer_cli',
2222
'graphql',
23+
'powershell',
24+
'bash',
2325
]
2426
const toolTitles = {
2527
webui: 'Web browser',
@@ -30,6 +32,8 @@ const toolTitles = {
3032
vscode: 'Visual Studio Code',
3133
importer_cli: 'GitHub Enterprise Importer CLI',
3234
graphql: 'GraphQL API',
35+
powershell: 'PowerShell',
36+
bash: 'Bash',
3337
} as Record<string, string>
3438

3539
// Imperatively modify article content to show only the selected tool

content/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ defaultPlatform: linux
228228
### `defaultTool`
229229

230230
- Purpose: Override the initial tool selection for a page, where tool refers to the application the reader is using to work with GitHub (such as GitHub.com's web UI, the GitHub CLI, or GitHub Desktop) or the GitHub APIs (such as cURL or the GitHub CLI). For more information about the tool selector, see [Markup reference for GitHub Docs](../contributing/content-markup-reference.md#tool-tags). If this frontmatter is omitted, then the tool-specific content matching the GitHub web UI is shown by default. If a user has indicated a tool preference (by clicking on a tool tab), then the user's preference will be applied instead of the default value.
231-
- Type: `String`, one of: `webui`, `cli`, `desktop`, `curl`, `codespaces`, `vscode`, `importer_cli`, `graphql`.
231+
- Type: `String`, one of: `webui`, `cli`, `desktop`, `curl`, `codespaces`, `vscode`, `importer_cli`, `graphql`, `powershell`, `bash`.
232232
- Optional.
233233

234234
```yaml

0 commit comments

Comments
 (0)