FaviconConfig

Represents the favicon configuration for Mintlify. Can be a single file or separate files for light and dark mode.

Syntax

[JsonConverter(typeof(FaviconConfigJsonConverter))]
public class FaviconConfig

Inheritance

Constructors

FaviconConfig

public FaviconConfig()
Initializes a new instance of the class.

FaviconConfig

public FaviconConfig(string faviconPath)
Initializes a new instance of the class with a single favicon path.

Parameters

  • faviconPath string: The path to the favicon file.

Properties

Dark

[JsonPropertyName("dark")]
public string Dark { get; set; }
Gets or sets the path to the dark favicon file, including the file extension.

Returns

string

Light

[JsonPropertyName("light")]
public string Light { get; set; }
Gets or sets the path to the light favicon file, including the file extension.

Returns

string