Skip to main content

Definition

Assembly: Mintlify.Core.dll Namespace: Mintlify.Core.Models Inheritance: System.Object

Syntax

Summary

Represents the root configuration object for Mintlify docs.json.

Remarks

This class represents the complete structure of a Mintlify docs.json configuration file as defined by the official Mintlify schema. It supports all themes and configuration options.

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

Api

Gets or sets the API reference configuration.

Syntax

Property Value

Type: Mintlify.Core.Models.ApiConfig?

Appearance

Gets or sets the appearance configuration.

Syntax

Property Value

Type: Mintlify.Core.Models.AppearanceConfig?

Background

Gets or sets the background configuration.

Syntax

Property Value

Type: Mintlify.Core.Models.BackgroundConfig? Gets or sets the banner configuration.

Syntax

Property Value

Type: Mintlify.Core.Models.BannerConfig?

Colors

Gets or sets the color configuration.

Syntax

Property Value

Type: Mintlify.Core.Models.ColorsConfig

Remarks

This is a required field. At minimum, the primary color must be defined.

Contextual

Gets or sets the contextual options configuration.

Syntax

Property Value

Type: Mintlify.Core.Models.ContextualConfig?

Description

Gets or sets the optional description used for SEO and LLM indexing.

Syntax

Property Value

Type: string?

Errors

Gets or sets the error pages configuration.

Syntax

Property Value

Type: Mintlify.Core.Models.ErrorsConfig?

Favicon

Gets or sets the favicon configuration.

Syntax

Property Value

Type: Mintlify.Core.Models.FaviconConfig?

Fonts

Gets or sets the fonts configuration.

Syntax

Property Value

Type: Mintlify.Core.Models.FontsConfig? Gets or sets the footer configuration.

Syntax

Property Value

Type: Mintlify.Core.Models.FooterConfig?

Icons

Gets or sets the icons configuration.

Syntax

Property Value

Type: Mintlify.Core.Models.IconsConfig?

Integrations

Gets or sets the integrations configuration.

Syntax

Property Value

Type: Mintlify.Core.Models.IntegrationsConfig?

Interaction

Gets or sets the interaction configuration for navigation elements.

Syntax

Property Value

Type: Mintlify.Core.Models.InteractionConfig?

Remarks

Controls how users interact with navigation elements such as groups and dropdowns, including whether expanding a group automatically navigates to its first page. Gets or sets the logo configuration.

Syntax

Property Value

Type: Mintlify.Core.Models.LogoConfig?

Metadata

Gets or sets the metadata configuration for documentation pages.

Syntax

Property Value

Type: Mintlify.Core.Models.MetadataConfig?

Remarks

Controls page-level metadata features such as displaying the last modified timestamp on documentation pages.

Name

Gets or sets the name of the project, organization, or product.

Syntax

Property Value

Type: string

Remarks

This is a required field. Gets or sets the navbar configuration.

Syntax

Property Value

Type: Mintlify.Core.Models.NavbarConfig? Gets or sets the navigation structure.

Syntax

Property Value

Type: Mintlify.Core.Models.NavigationConfig

Remarks

This is a required field that defines the structure of your documentation.

Redirects

Gets or sets the redirects.

Syntax

Property Value

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

Schema

Gets or sets the JSON schema URL.

Syntax

Property Value

Type: string? Gets or sets the search configuration.

Syntax

Property Value

Type: Mintlify.Core.Models.SearchConfig?

Seo

Gets or sets the SEO configuration.

Syntax

Property Value

Type: Mintlify.Core.Models.SeoConfig?

Styling

Gets or sets the styling configuration.

Syntax

Property Value

Type: Mintlify.Core.Models.StylingConfig?

Theme

Gets or sets the theme name.

Syntax

Property Value

Type: string

Remarks

This is a required field. Valid values are: mint, maple, palm, willow, linden, almond, aspen.

Thumbnails

Gets or sets the thumbnails configuration.

Syntax

Property Value

Type: Mintlify.Core.Models.ThumbnailsConfig?

Remarks

Defines custom thumbnail images for social media sharing and link previews. Can include background images and other preview assets.

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?