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/overview.mdx
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,11 +34,11 @@ navbar-links:
34
34
35
35
## Sections, contents, and pages
36
36
37
-
The navigation organizes your documentation in the left-side nav bar. You can create sections for grouping related content. Each `section` has a name and a list of `contents`. The sections appear in the left-side nav bar in the order that they are listed in `docs.yml`.
37
+
The navigation organizes your documentation in the left-side nav bar. You can create sections for grouping related content. Each `section` has a name and a list of `contents`. The sections appear in the left-side nav bar in the order listed in `docs.yml`.
38
38
39
39
In `contents`, list your pages with names and corresponding file paths. The supported file types for pages are `.md` or `.mdx`.
40
40
41
-
A basic navigation configuration with two sections is shown below. The first section is called `Introduction` and contains a single page called `My Page`. The second section is called **API Reference**. This is a special type of section that's automatically generated by Fern, and you do not need to add any pages to it by hand. For more information, see the [Generate API Reference](/learn/docs/api-references/generate-api-ref) page.
41
+
A basic navigation configuration with two sections is shown below. The first section is called `Introduction` and contains a single page called `My Page`. The second section is called **API Reference**. This is a special type of section that's automatically generated by Fern, and you don't need to add any pages to it by hand. For more information, see the [Generate API Reference](/learn/docs/api-references/generate-api-ref) page.
42
42
43
43
```yaml Example navigation config
44
44
navigation:
@@ -79,7 +79,7 @@ navigation:
79
79
80
80
### Hiding content
81
81
82
-
To hide a page or an entire section of your docs, add `hidden: true`. A hidden page or section will still be discoverable using the exact URL, but it will be excluded from search and will not be indexed.
82
+
To hide a page or an entire section of your docs, add `hidden: true`. A hidden page or section will still be discoverable using the exact URL, but it will be excluded from search and won't be indexed.
83
83
84
84
```yaml Example navigation config with additional section {7, 10}
85
85
navigation:
@@ -281,7 +281,7 @@ If you have multiple versions of your documentation, you can introduce a dropdow
281
281
282
282
## Product switching
283
283
284
-
If you have multiple products in your documentation, you can introduce a dropdown product selector by creating separate product configuration files. Each product can contain its own distinct versions, tabs, sections, pages, and API references, though products can also share content.
284
+
If you have multiple products in your documentation, you can introduce a [dropdown product selector](/learn/docs/configuration/products) by creating separate product configuration files. Each product can contain its own distinct versions, tabs, sections, pages, and API references, though products can also share content.
285
285
286
286
<CodeBlock title="docs.yml">
287
287
```yaml {2-3, 7-8}
@@ -298,5 +298,3 @@ products:
298
298
subtitle: Product B subtitle # optional
299
299
```
300
300
</CodeBlock>
301
-
302
-
For more information about setting up this up, check out our [documentation on product switching](/learn/docs/configuration/products).
0 commit comments