Skip to content
Merged
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
29 changes: 28 additions & 1 deletion fern/products/docs/pages/navigation/products.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,33 @@ If your `docs.yml` file includes a `navigation` field or a `tabs` field, be sure
</Step>
</Steps>

### Add a site-level landing page

You can add a landing page that appears at the root of your documentation site, independent of any product. This is useful when you want users to see an introductory page before selecting a product.

Configure the `landing-page` property in your `docs.yml`:

<CodeBlock title="docs.yml">
```yaml
landing-page:
page: Welcome
path: ./pages/welcome.mdx
slug: /welcome # optional

products:
- display-name: Product A
path: ./products/product-a.yml
- display-name: Product B
path: ./products/product-b.yml
```
</CodeBlock>

The landing page is not linked to any product and will be accessible at the root URL (or the specified slug) of your documentation site.
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 🐶
[Microsoft.Contractions] Use 'isn't' instead of 'is not'.


<Note>
For detailed configuration options, see the [landing page configuration reference](/learn/docs/configuration/site-level-settings#landing-page-configuration).
</Note>

### Add versioning to your products

You can optionally add versions to your internal products. Versioned and unversioned products can live next to each other in your site. Versions are not supported for external products.
Expand Down Expand Up @@ -350,4 +377,4 @@ The dropdown menus for product and version selectors can be customized using the
<img src="webflow-version-selector.avif" alt="Example of a styled version selector" />
</Frame>
</Tab>
</Tabs>
</Tabs>