Definition
Assembly: Mintlify.Core.dll Namespace: Mintlify.Core.Models Inheritance: System.ObjectSyntax
Summary
Represents a specific font configuration for the Mintlify documentation site.Remarks
This configuration defines a font used for headings or body text in the documentation, including the font family, weight, and optional source URL for custom hosted fonts.Constructors
.ctor
Syntax
.ctor Inherited
Inherited from
objectSyntax
Properties
Family
Gets or sets the font family name.Syntax
Property Value
Type:string?
Remarks
Specifies the name of the font family to use. This can be a standard web font or a custom font loaded from the specified source URL.Format
Gets or sets the font file format.Syntax
Property Value
Type:string?
Remarks
Specifies the format of the font file, such as “woff” or “woff2”. This helps the browser correctly interpret the font file loaded from the source URL.Source
Gets or sets the URL to the hosted font file.Syntax
Property Value
Type:string?
Remarks
Specifies the URL where the font file is hosted. This is used to load custom fonts that are not available through standard font services. The URL should point directly to the font file.Weight
Gets or sets the font weight.Syntax
Property Value
Type:System.Nullable<int>?
Remarks
Specifies the weight of the font as a numeric value, such as 400 for normal weight or 700 for bold. The available weights depend on the specific font family being used.Methods
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
obj | object? | - |
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?