Skip to content

Commit eaab422

Browse files
committed
correct defaults and clarify descriptions
1 parent 605cd11 commit eaab422

File tree

2 files changed

+16
-26
lines changed

2 files changed

+16
-26
lines changed

fern/products/docs/pages/component-library/custom-components/custom-css-js.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,13 @@ to display.
6666
6767
<CodeBlock title="styles.css">
6868
```css
69-
.fern-page-actions {
69+
.fern-layout-footer-toolbar { # Hides Fern feedback widget
7070
display: none !important;
7171
}
7272
```
7373
</CodeBlock>
7474

75-
Commonly hidden components include `.fern-page-actions` (**Open in
76-
ChatGPT**, **Open in Claude**, and **Copy Page** buttons) and `.fern-layout-footer-toolbar`
77-
(Fern feedback widget). You can target other Fern UI components using their CSS class names. Use your browser's developer tools to inspect elements and find their class names.
75+
You can target other Fern UI components using their CSS class names. Use your browser's developer tools to inspect elements and find their class names.
7876
</Accordion>
7977
<Accordion title="Adding custom styling">
8078

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

Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -508,55 +508,47 @@ settings:
508508

509509
## Page actions configuration
510510

511-
Configure the action buttons that appear on each documentation page, allowing users to interact with your content in various ways.
511+
Configure the page action buttons that appear throughout your documentation. By default, **Copy Page** (`copy-page`), **View as Markdown** (`view-as-markdown`), and **Ask AI** (`ask-ai`) are enabled.
512512

513513
```yaml docs.yml
514514
page-actions:
515515
default: copy-page
516516
options:
517-
copy-page: true
518-
view-as-markdown: true
519-
ask-ai: true
520-
chatgpt: true
521-
claude: true
517+
copy-page: false
518+
ask-ai: false
522519
cursor: true
523-
vscode: true
524520
```
525521

526522
<ParamField path="page-actions.default" type="string" required={false} toc={true}>
527523
The default page action to display. Options: `copy-page`, `view-as-markdown`, `ask-ai`, `chatgpt`, `claude`, `cursor`, `vscode`.
528524
</ParamField>
529525

530-
<ParamField path="page-actions.options" type="object" required={false} toc={true}>
531-
Configure which page actions are available to users. Each option can be enabled or disabled individually.
532-
</ParamField>
533-
534526
<ParamField path="page-actions.options.copy-page" type="boolean" required={false} default="true" toc={true}>
535-
Allows users to copy the entire page content to their clipboard.
527+
When enabled, displays a button that allows users to copy the entire page content to their clipboard for easy sharing or reference.
536528
</ParamField>
537529

538530
<ParamField path="page-actions.options.view-as-markdown" type="boolean" required={false} default="true" toc={true}>
539-
Allows users to view the raw Markdown source of the page. Learn more about [viewing Markdown](/docs/developer-tools/view-markdown).
531+
When enabled, displays a button that allows users to view the raw Markdown source of the current page.
540532
</ParamField>
541533

542534
<ParamField path="page-actions.options.ask-ai" type="boolean" required={false} default="true" toc={true}>
543-
Enables the "Ask AI" action, allowing users to ask questions about the page content using AI.
535+
When enabled, displays an "Ask AI" button that allows users to ask questions about the page content using AI-powered assistance.
544536
</ParamField>
545537

546-
<ParamField path="page-actions.options.chatgpt" type="boolean" required={false} default="true" toc={true}>
547-
Enables the "Open in ChatGPT" action, allowing users to open the page content in ChatGPT for further exploration.
538+
<ParamField path="page-actions.options.chatgpt" type="boolean" required={false} default="false" toc={true}>
539+
When enabled, displays an "Open in ChatGPT" button that allows users to send the page content to ChatGPT for further exploration and Q&A.
548540
</ParamField>
549541

550-
<ParamField path="page-actions.options.claude" type="boolean" required={false} default="true" toc={true}>
551-
Enables the "Open in Claude" action, allowing users to open the page content in Claude for further exploration.
542+
<ParamField path="page-actions.options.claude" type="boolean" required={false} default="false" toc={true}>
543+
When enabled, displays an "Open in Claude" button that allows users to send the page content to Claude for further exploration and Q&A.
552544
</ParamField>
553545

554-
<ParamField path="page-actions.options.cursor" type="boolean" required={false} default="true" toc={true}>
555-
Enables the "Open in Cursor" action, allowing users to open the page in Cursor IDE. Learn more about [Cursor integration](/docs/developer-tools/cursor).
546+
<ParamField path="page-actions.options.cursor" type="boolean" required={false} default="false" toc={true}>
547+
When enabled, displays an "Open in Cursor" button that allows users to open the page content in Cursor IDE with AI-powered code assistance.
556548
</ParamField>
557549

558-
<ParamField path="page-actions.options.vscode" type="boolean" required={false} default="true" toc={true}>
559-
Enables the "Open in VS Code" action, allowing users to open the page in Visual Studio Code.
550+
<ParamField path="page-actions.options.vscode" type="boolean" required={false} default="false" toc={true}>
551+
When enabled, displays an "Open in VS Code" button that allows users to open the page content in Visual Studio Code for editing and development.
560552
</ParamField>
561553

562554
## GitHub configuration

0 commit comments

Comments
 (0)