Skip to main content

Definition

Assembly: Mintlify.Core.dll Namespace: Mintlify.Core.Models Inheritance: Mintlify.Core.Models.NavigationSectionBase

Syntax

Summary

Represents an anchor configuration in Mintlify navigation.

Remarks

Anchors provide navigation links in your documentation. The anchor name is required.

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from Mintlify.Core.Models.NavigationSectionBase

Syntax

.ctor Inherited

Inherited from Mintlify.Core.Models.NavigationContainerBase

Syntax

.ctor Inherited

Inherited from Mintlify.Core.Models.NavigationItemBase

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

Anchor

Gets or sets the name of the anchor.

Syntax

Property Value

Type: string

Remarks

This is a required field that appears as the anchor label.

AsyncApi Inherited

Inherited from Mintlify.Core.Models.NavigationItemBase
Gets or sets the AsyncAPI configuration.

Syntax

Property Value

Type: Mintlify.Core.Models.ApiSpecConfig?

Remarks

Can be a string URL, an array of URLs, or an object with source and directory properties pointing to AsyncAPI specification files.

Color Inherited

Inherited from Mintlify.Core.Models.NavigationSectionBase
Gets or sets the color configuration for this navigation section.

Syntax

Property Value

Type: Mintlify.Core.Models.ColorPairConfig?

Remarks

Defines the primary and secondary colors used for this section’s visual styling.

Description Inherited

Inherited from Mintlify.Core.Models.NavigationSectionBase
Gets or sets the description of this navigation section.

Syntax

Property Value

Type: string?

Remarks

Provides additional descriptive text about this navigation section.
Inherited from Mintlify.Core.Models.NavigationSectionBase
Gets or sets the dropdowns for this navigation section.

Syntax

Property Value

Type: System.Collections.Generic.List<Mintlify.Core.Models.DropdownConfig>?

Remarks

Dropdowns create expandable menu sections within this navigation section.

Global Inherited

Inherited from Mintlify.Core.Models.NavigationSectionBase
Gets or sets global navigation items that appear on all sections and pages.

Syntax

Property Value

Type: Mintlify.Core.Models.GlobalNavigationConfig?

Remarks

Global navigation items persist across different tabs and pages for consistent navigation.

Groups Inherited

Inherited from Mintlify.Core.Models.NavigationContainerBase
Gets or sets the groups for this navigation container.

Syntax

Property Value

Type: System.Collections.Generic.List<Mintlify.Core.Models.GroupConfig>?

Remarks

Groups organize pages into labeled sections within this navigation container.

Hidden Inherited

Inherited from Mintlify.Core.Models.NavigationItemBase
Gets or sets whether the current option is default hidden.

Syntax

Property Value

Type: System.Nullable<bool>?

Remarks

When true, this navigation item will not be displayed in the navigation by default.

Href Inherited

Inherited from Mintlify.Core.Models.NavigationContainerBase
Gets or sets the URL or path for this navigation container.

Syntax

Property Value

Type: string?

Remarks

Can be used to link to an external URL or specify a path for this container.

Icon Inherited

Inherited from Mintlify.Core.Models.NavigationItemBase
Gets or sets the icon to be displayed in the section.

Syntax

Property Value

Type: Mintlify.Core.Models.IconConfig?

Remarks

Can be a Font Awesome icon name, Lucide icon name, JSX-compatible SVG code, URL to an externally hosted icon, or path to an icon file in your project.

Languages Inherited

Inherited from Mintlify.Core.Models.NavigationSectionBase
Gets or sets the languages for this navigation section.

Syntax

Property Value

Type: System.Collections.Generic.List<Mintlify.Core.Models.LanguageConfig>?

Remarks

Allows partitioning navigation into different language-specific versions.

OpenApi Inherited

Inherited from Mintlify.Core.Models.NavigationItemBase
Gets or sets the OpenAPI configuration.

Syntax

Property Value

Type: Mintlify.Core.Models.ApiSpecConfig?

Remarks

Can be a string URL, an array of URLs, or an object with source and directory properties pointing to OpenAPI specification files.

Pages Inherited

Inherited from Mintlify.Core.Models.NavigationItemBase
Gets or sets the pages for this navigation item.

Syntax

Property Value

Type: System.Collections.Generic.List<object>?

Remarks

Pages can be strings (page paths) or nested GroupConfig objects for hierarchical navigation.

Tabs

Gets or sets the tabs for the anchor.

Syntax

Property Value

Type: System.Collections.Generic.List<Mintlify.Core.Models.TabConfig>?

Remarks

Allows creating multiple tabs within an anchor section.

Versions Inherited

Inherited from Mintlify.Core.Models.NavigationSectionBase
Gets or sets the versions for this navigation section.

Syntax

Property Value

Type: System.Collections.Generic.List<Mintlify.Core.Models.VersionConfig>?

Remarks

Allows partitioning navigation into different version-specific documentation.

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?