diff --git a/settings/navigation.mdx b/settings/navigation.mdx index 6bcb151..d0cd3dd 100644 --- a/settings/navigation.mdx +++ b/settings/navigation.mdx @@ -1,7 +1,6 @@ --- title: "Navigation" -description: - "Organize your docs directory to guide your users to the information they need " +description: "Organize your docs directory to guide your users to the information they need " icon: "map" --- @@ -12,6 +11,7 @@ documentation. They show up above the main sidebar. + @@ -52,10 +52,8 @@ Anchors provide another way to direct users to sections of your documentation, or link out to external URLs. - + + @@ -148,15 +146,14 @@ would make a folder called `your-folder` containing an MDX file called - -```json Navigation With Folder -"navigation": [ - { - "group": "Group Name", - "pages": ["your-folder/your-page"] - } -] -``` + ```json Navigation With Folder + "navigation": [ + { + "group": "Group Name", + "pages": ["your-folder/your-page"] + } + ] + ``` ```json Nested Navigation "navigation": [ @@ -208,17 +205,17 @@ The `topbarLinks` field supports the following fields: `name`, `url`. ### CTA Button -Customize the call-to-action (CTA) button in the topbar using the `topbarCTA` +Customize the call-to-action (CTA) button in the topbar using the `topbarCtaButton` field. -The `topbarCTA` field supports the following fields: `name`, `url`, and `type`. +The `topbarCtaButton` field supports the following fields: `name`, `url`, `type`, `style`, and `arrow`. For more information on the options for these fields, see the [mint.json schema](/settings/global#structure). ```json - "topbarCTA": { + "topbarCtaButton": { "name": "Get Started", "url": "https://mintlify.com/get-started" }