Skip to main content

Definition

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

Syntax

Summary

Represents a language configuration in Mintlify navigation.

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

Anchors

Gets or sets the anchors for the language.

Syntax

Property Value

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

AsyncApi

Gets or sets the AsyncAPI configuration.

Syntax

Property Value

Type: object? Gets or sets a banner specific to this language.

Syntax

Property Value

Type: Mintlify.Core.Models.BannerConfig?

Remarks

Accepts the same options as the top-level banner field. See https://www.mintlify.com/docs/organize/settings-structure#navigation-languages.

Default

Gets or sets whether this language is the default language.

Syntax

Property Value

Type: bool?

Directory

Gets or sets the directory layout for this language and its descendants.

Syntax

Property Value

Type: string?

Remarks

Valid values are none, accordion, and card. Gets or sets the dropdowns for the language.

Syntax

Property Value

Type: System.Collections.Generic.List<Mintlify.Core.Models.DropdownConfig>? Gets or sets a footer specific to this language.

Syntax

Property Value

Type: Mintlify.Core.Models.FooterConfig?

Remarks

Accepts the same options as the top-level footer field.

Global

Gets or sets the global navigation configuration.

Syntax

Property Value

Type: Mintlify.Core.Models.GlobalNavigationConfig?

Groups

Gets or sets the groups for the language.

Syntax

Property Value

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

Hidden

Gets or sets whether the current option is default hidden.

Syntax

Property Value

Type: bool?

Href

Gets or sets the URL or path for the language.

Syntax

Property Value

Type: string?

Language

Gets or sets the language code in ISO 639-1 format.

Syntax

Property Value

Type: string

Remarks

This is a required field that identifies the language. Gets or sets a navbar specific to this language.

Syntax

Property Value

Type: Mintlify.Core.Models.NavbarConfig?

Remarks

Accepts the same options as the top-level navbar field.

OpenApi

Gets or sets the OpenAPI configuration.

Syntax

Property Value

Type: object?

Pages

Gets or sets the pages for the language.

Syntax

Property Value

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

Sdk

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

Syntax

Property Value

Type: Mintlify.Core.Models.SdkRefConfig?

Tabs

Gets or sets the tabs for the language.

Syntax

Property Value

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

Thumbnail

Gets or sets thumbnail overrides for this language.

Syntax

Property Value

Type: Mintlify.Core.Models.NavThumbnailConfig?

Versions

Gets or sets the versions for the language.

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?