Definition
Assembly: Mintlify.Core.dll Namespace: Mintlify.Core.Models Inheritance: System.ObjectSyntax
Summary
Represents the configuration for 404 (Not Found) error handling in the Mintlify documentation site.Remarks
This configuration controls what happens when users try to access pages that don’t exist, including whether to automatically redirect them to the home page.Constructors
.ctor
Syntax
.ctor Inherited
Inherited from
objectSyntax
Properties
Redirect
Gets or sets whether to automatically redirect users to the home page when a 404 error occurs.Syntax
Property Value
Type:System.Nullable<bool>
Remarks
When true (default), users who navigate to non-existent pages will be automatically redirected to the home page of the documentation site. When false, users will see a standard 404 error page instead. Automatic redirection can improve user experience by keeping users within the documentation rather than showing error pages.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?