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()

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.