You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -212,8 +212,8 @@ defaultPlatform: linux
212
212
213
213
### `defaultTool`
214
214
215
-
- 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. If this frontmatter is omitted, then the tool-specific content matching the GitHub web UI is shown by default. This behavior can be changed for individual pages, for which a manual selection is more reasonable.
216
-
- Type: `String`, one of: `webui`, `cli`, `desktop`.
215
+
- 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). If this frontmatter is omitted, then the tool-specific content matching the GitHub web UI is shown by default. This behavior can be changed for individual pages, for which a manual selection is more reasonable.
216
+
- Type: `String`, one of: `webui`, `cli`, `desktop`, `curl`.
Copy file name to clipboardExpand all lines: contributing/content-markup-reference.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,7 @@ You can define a default platform in the frontmatter. For more information, see
102
102
103
103
## Tool tags
104
104
105
-
We occasionally need to write documentation for different tools (GitHub UI, GitHub CLI, GitHub Desktop). Each tool may require a different set of instructions. We use tool tags to demarcate information for each tool.
105
+
We occasionally need to write documentation for different tools (GitHub UI, GitHub CLI, GitHub Desktop, cURL). Each tool may require a different set of instructions. We use tool tags to demarcate information for each tool.
106
106
107
107
### Usage
108
108
@@ -130,6 +130,14 @@ These instructions are pertinent to GitHub CLI users.
130
130
{% enddesktop %}
131
131
```
132
132
133
+
```
134
+
{% curl %}
135
+
136
+
These instructions are pertinent to cURL users.
137
+
138
+
{% endcurl %}
139
+
```
140
+
133
141
Unlike [operating system tags](#operating-system-tags), which will automatically add tabs to select the operating system at the top of the article, you must add `{% include tool-switcher %}` wherever you want to display tabs to select the tool. This allows you to display the tabs at the top of the article or immediately before a relevant section.
134
142
135
143
You can define a default tool in the frontmatter. For more information, see the [content README](../content/README.md#defaulttool).
0 commit comments