Definition
Assembly: Mintlify.Core.dll Namespace: Mintlify.Core.Models Inheritance: System.ObjectSyntax
Summary
Represents the navigation bar configuration for the Mintlify documentation site.Remarks
This configuration controls the content and appearance of the top navigation bar, including custom links and primary call-to-action buttons.Constructors
.ctor
Syntax
.ctor Inherited
Inherited from
objectSyntax
Properties
Links
Gets or sets the list of navigation links to display in the navbar.Syntax
Property Value
Type:System.Collections.Generic.List<Mintlify.Core.Models.NavbarLink>?
Remarks
Each link should have a label, optional icon, and href pointing to the destination. These links appear in the top navigation bar of the documentation site.Primary
Gets or sets the primary call-to-action configuration in the navbar.Syntax
Property Value
Type:Mintlify.Core.Models.PrimaryNavigationConfig?
Remarks
Can be a button configuration with type “button”, label, and href properties, or a GitHub configuration with type “github” and href properties. This appears prominently in the navbar to drive user actions.Methods
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
obj | object? | - |
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?