Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion fern/products/docs/pages/navigation/products.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ Each product can contain its own distinct versions, tabs, sections, pages, and A

Products can be internal (hosted on your site) or external (linking to external URLs).

And here I've added a new paragraph, and Code block!
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [vale] reported by reviewdog 🐶
[FernStyles.FirstPerson] Use first person (such as 'I've') sparingly.


```typescript
console.log('Hehe!');
```

## Add products to your docs

<Steps toc={true}>
Expand Down Expand Up @@ -273,7 +279,7 @@ Control which versions and/or products appear in each [documentation instance](/
Content is filtered based on audience tags:

- **Match**: Content with an audience matching the instance audience is included
- **No match**: Content with a non-matching audience is excluded
- **No match**: Content with a non-matching audience is excluded
- **No audience**: Content without an audience tag is included by default

Define audiences for instances, products, and versions in `docs.yml`:
Expand Down
4 changes: 1 addition & 3 deletions fern/products/docs/pages/navigation/tabs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ layout:
```
</CodeBlock>


## Tab variants

Tab variants let you display different content variations within a single tab, and [support RBAC](/learn/docs/authentication/rbac). This is useful for showing different user types, implementation approaches, or experience levels without creating separate tabs.
Expand Down Expand Up @@ -117,7 +116,7 @@ navigation:
- tab: github
```

### Variant properties
### Variant properties - this is a header change!
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [vale] reported by reviewdog 🐶
[FernStyles.HeadingPunctuation] Don't use end punctuation in headings.


<ParamField path="title" type="string" required={true}>
Display name for the variant
Expand Down Expand Up @@ -158,4 +157,3 @@ navigation:
<ParamField path="feature-flag" type="string | object">
Conditional display configuration
</ParamField>

Loading