You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fern/products/docs/pages/navigation/products.mdx
+28-1Lines changed: 28 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -143,6 +143,33 @@ If your `docs.yml` file includes a `navigation` field or a `tabs` field, be sure
143
143
</Step>
144
144
</Steps>
145
145
146
+
### Add a site-level landing page
147
+
148
+
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.
149
+
150
+
Configure the `landing-page` property in your `docs.yml`:
151
+
152
+
<CodeBlock title="docs.yml">
153
+
```yaml
154
+
landing-page:
155
+
page: Welcome
156
+
path: ./pages/welcome.mdx
157
+
slug: /welcome # optional
158
+
159
+
products:
160
+
- display-name: Product A
161
+
path: ./products/product-a.yml
162
+
- display-name: Product B
163
+
path: ./products/product-b.yml
164
+
```
165
+
</CodeBlock>
166
+
167
+
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.
168
+
169
+
<Note>
170
+
For detailed configuration options, see the [landing page configuration reference](/learn/docs/configuration/site-level-settings#landing-page-configuration).
171
+
</Note>
172
+
146
173
### Add versioning to your products
147
174
148
175
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.
@@ -350,4 +377,4 @@ The dropdown menus for product and version selectors can be customized using the
350
377
<img src="webflow-version-selector.avif" alt="Example of a styled version selector" />
0 commit comments