Skip to main content

Definition

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

Syntax

Summary

Represents folder-scoped SEO meta tags.

Remarks

Use this to apply different tags to a subset of pages, such as versioned docs or a specific product area, without repeating them in page frontmatter. Each path can appear only once. Paths match page URLs, so translated pages in a language folder need their own entries. Mintlify ignores a canonical key in path entries. See https://www.mintlify.com/docs/organize/settings-seo.

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

Metatags

Gets or sets meta tags added to every page under SeoPathConfig.Path.

Syntax

Property Value

Type: System.Collections.Generic.Dictionary<string, string>?

Remarks

Provide key-value pairs. Values must be non-empty strings.

Path

Gets or sets the folder path relative to the docs root.

Syntax

Property Value

Type: string?

Remarks

Example: guides/v2. Do not include a leading or trailing slash. Applies to every page under that folder. Longer matching paths override shorter ones. Precedence is site-wide seo.metatags, then matching path entries, then page frontmatter.

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?