Skip to content

Commit 8cd8e91

Browse files
committed
fix callout and tighten language
1 parent 7a8f24a commit 8cd8e91

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

fern/products/docs/pages/api-references/http-snippets.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,27 @@ subtitle: HTTP snippets allow users to see API request examples using common HTT
1010

1111
## Configuration
1212

13-
All documentation sites include HTTP snippets by default. **curl always appears in HTTP snippets and you can't remove it via configuration.** To control other HTTP snippet languages, use the `settings.http-snippets` configuration in your `docs.yml` file:
13+
All documentation sites include HTTP snippets by default. To control which languages appear in the HTTP snippet selector, use the `settings.http-snippets` configuration in your `docs.yml` file.
14+
15+
<Note>
16+
curl is always displayed in the HTTP snippets selector and cannot be removed via `docs.yml` configuration. To hide it, [use custom CSS](/docs/customization/custom-css-js#custom-css).
17+
</Note>
1418

1519
<CodeBlock title="docs.yml">
1620

1721
```yaml
18-
# Disable all HTTP snippets except curl (curl is always shown)
22+
# Disable all HTTP snippets except curl
1923
settings:
2024
http-snippets: false
2125

22-
# Enable only specific languages (curl is always shown in addition to these)
26+
# Enable only specific languages (in addition to curl)
2327
settings:
2428
http-snippets:
2529
- python
2630
- ruby
2731
```
2832
</CodeBlock>
2933
30-
<Callout intent="info">
31-
curl is always displayed in the HTTP snippets selector, regardless of your `http-snippets` configuration. To hide curl from the UI, you would need to use custom CSS.
32-
</Callout>
33-
3434
## How It Works
3535
3636
### Request Examples

0 commit comments

Comments
 (0)