Skip to main content

Definition

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

Syntax

Summary

Represents the contextual options configuration for the Mintlify documentation site.

Remarks

This configuration controls the contextual options that appear in the documentation, such as copy buttons, view source links, and AI assistant integrations.

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

Display

Gets or sets the display location of the contextual menu.

Syntax

Property Value

Type: string?

Remarks

Valid values are “header” or “toc”. Controls where the contextual options appear on the page. Defaults to “header”.

Options

Gets or sets the list of contextual options to enable.

Syntax

Property Value

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

Remarks

The first option in the array appears as the default action. Built-in options: copy, view, assistant, chatgpt, claude, perplexity, grok, aistudio, devin, windsurf, download-pdf, download-spec, mcp, add-mcp, cursor, vscode, and devin-mcp. Custom objects use title, description, icon, and href. See https://www.mintlify.com/docs/ai/contextual-menu.

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?