Skip to main content

Definition

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

Syntax

Summary

Represents the navigation configuration for Mintlify.

Remarks

This is a required field that defines the structure of your documentation. At minimum, you need to define some navigation items (pages, groups, tabs, etc.).

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

Anchors

Gets or sets the anchors in the navigation.

Syntax

Property Value

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

Directory

Gets or sets the directory layout for this navigation tree.

Syntax

Property Value

Type: string?

Remarks

Valid values are none, accordion, and card. Descendants inherit the value unless they override it. See https://www.mintlify.com/docs/organize/navigation#directory-listings. Gets or sets the dropdowns in the navigation.

Syntax

Property Value

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

Global

Gets or sets global navigation items that appear on all sections and pages.

Syntax

Property Value

Type: Mintlify.Core.Models.GlobalNavigationConfig?

Graphql

Gets or sets the GraphQL schema used to auto-populate reference pages.

Syntax

Property Value

Type: Mintlify.Core.Models.SpecRefConfig?

Remarks

Accepts a local SDL path, an HTTPS URL, or an object with source and optional directory. See https://www.mintlify.com/docs/api-playground/graphql-setup.

Groups

Gets or sets the groups in the navigation.

Syntax

Property Value

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

Languages

Gets or sets the languages in the navigation.

Syntax

Property Value

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

Mcp

Gets or sets the MCP definition used to auto-populate reference pages.

Syntax

Property Value

Type: Mintlify.Core.Models.SpecRefConfig?

Pages

Gets or sets the pages in the navigation.

Syntax

Property Value

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

Remarks

Pages can be either strings (page paths) or nested GroupConfig objects.

Products

Gets or sets the products in the navigation.

Syntax

Property Value

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

Remarks

Products separate documentation into distinct product-specific sections.

Sdk

Gets or sets the SDK documentation artifact used to auto-populate pages.

Syntax

Property Value

Type: Mintlify.Core.Models.SdkRefConfig?

Remarks

Typically declared on a tab or group rather than the navigation root. See SdkRefConfig and https://www.mintlify.com/docs/api-playground/sdk-reference-setup.

Tabs

Gets or sets the tabs in the navigation.

Syntax

Property Value

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

Versions

Gets or sets the versions in the navigation.

Syntax

Property Value

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

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?