Skip to main content

Definition

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

Syntax

Mintlify.Core.Models.ContextualConfig

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

public ContextualConfig()

.ctor Inherited

Inherited from object

Syntax

public Object()

Properties

Options

Gets or sets the list of contextual options to enable.

Syntax

public System.Collections.Generic.List<string> Options { get; set; }

Property Value

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

Remarks

Valid options include:
  • “copy”: Shows a copy button for code blocks and other copyable content
  • “view”: Provides view source or view raw options for content
  • “chatgpt”: Enables ChatGPT integration for AI assistance
  • “claude”: Enables Claude AI integration for AI assistance
  • “perplexity”: Enables Perplexity AI integration for AI assistance
  • “mcp”: Provides details for connecting any AI to the documentation through the MCP protocol
  • “cursor”: Enables Cursor integration for AI assistance
  • “vscode”: Enables VS Code integration for AI assistance These options enhance user interaction with the documentation content.

Methods

Equals Inherited Virtual

Inherited from object

Syntax

public virtual bool Equals(object obj)

Parameters

NameTypeDescription
objobject?-

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

public static bool Equals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

public virtual int GetHashCode()

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

public System.Type GetType()

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

protected internal object MemberwiseClone()

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

public static bool ReferenceEquals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

public virtual string ToString()

Returns

Type: string?