Skip to content

Commit 8086b12

Browse files
committed
clean up docs.yml page
1 parent fd59b33 commit 8086b12

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

fern/products/docs/pages/customization/what-is-docs-yml.mdx

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -481,14 +481,19 @@ settings:
481481
If set to true, search will display results for pages within the current product and version.
482482
</ParamField>
483483

484-
<ParamField path="settings.http-snippets" type="boolean | array" required={false} default="true" toc={true}>
485-
Controls the display of HTTP snippets in the API Reference. HTTP snippets are now enabled by default.
484+
<ParamField path="settings.http-snippets" type="boolean | list of objects" required={false} default="true" toc={true}>
485+
Controls the display of [HTTP snippets in the API Reference](/docs/api-references/http-snippets). HTTP snippets are enabled by default for all languages.
486486

487487
- Set to `false` to disable HTTP snippets completely
488-
- Set to `true` (or omit) to enable all HTTP snippet languages
489-
- Provide an array of language identifiers (e.g., `["python", "ruby"]`) to display only specific languages
490-
491-
Learn more in the [HTTP snippets documentation](/docs/api-references/http-snippets).
488+
- Provide a list of languages to enable snippets for specific languages only
489+
490+
```yaml title="docs.yml"
491+
# Enable only for Python and Ruby
492+
settings:
493+
http-snippets:
494+
- python
495+
- ruby
496+
```
492497
</ParamField>
493498

494499
<ParamField path="settings.hide-404-page" type="boolean" required={false} default="false" toc={true}>

0 commit comments

Comments
 (0)