Skip to main content

Definition

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

Syntax

Mintlify.Core.Models.MergeOptions

Summary

Defines merging as combining two navigation structures into one integrated structure. Options control how different aspects of the merge are handled.

Constructors

.ctor

Syntax

public MergeOptions()

.ctor Inherited

Inherited from object

Syntax

public Object()

Properties

AddRootPagesToGettingStarted

Gets or sets whether to add newly discovered root-level pages to the “Getting Started” group instead of the root level. This is used when merging discovered navigation into template navigation. When true, new root-level string pages from the source will be added to the “Getting Started” group. When false (default), new root-level pages are added at the root level.

Syntax

public bool AddRootPagesToGettingStarted { get; set; }

Property Value

Type: bool

CombineEmptyGroups

Gets or sets whether to combine groups with empty string names at the same navigation level. When true, multiple groups with empty names will be merged into a single group. When false (default), each empty group remains separate, matching Mintlify’s behavior.

Syntax

public bool CombineEmptyGroups { get; set; }

Property Value

Type: bool

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?