Definition
Assembly: CloudNimble.DotNetDocs.Core.dll Namespace: CloudNimble.DotNetDocs.Core Inheritance: CloudNimble.DotNetDocs.Core.DocReferenceHandlerBaseSyntax
Summary
Handler for Markdown-based documentation references providing content path rewriting.Remarks
This class extends DocReferenceHandlerBase to add Markdown-specific content rewriting functionality. It handles standard Markdown image and link syntax, rewriting absolute paths to include the destination path prefix. Derived classes can extend this behavior to handle format-specific patterns such as JSX imports, component props, or other content-specific path references.Constructors
.ctor
Syntax
.ctor Inherited
Inherited from
CloudNimble.DotNetDocs.Core.DocReferenceHandlerBaseSyntax
.ctor Inherited
Inherited from
objectSyntax
Properties
DocumentationType Override
Syntax
Property Value
Type:CloudNimble.DotNetDocs.Core.Configuration.SupportedDocumentationType
DocumentationType Inherited Abstract
Inherited from
CloudNimble.DotNetDocs.Core.DocReferenceHandlerBaseSyntax
Property Value
Type:CloudNimble.DotNetDocs.Core.Configuration.SupportedDocumentationType
Methods
CopyDirectoryWithExclusionsAsync Inherited
Inherited from
CloudNimble.DotNetDocs.Core.DocReferenceHandlerBaseSyntax
Parameters
| Name | Type | Description |
|---|---|---|
sourceDir | string | The source directory to copy from. |
destDir | string | The destination directory to copy to. |
exclusionPatterns | System.Collections.Generic.List<string> | List of glob patterns for files to exclude. |
skipExisting | bool | Whether to skip files that already exist in the destination. |
Returns
Type:System.Threading.Tasks.Task
A task representing the asynchronous copy operation.
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
GetExclusionPatternsForDocumentationType Inherited
Inherited from
CloudNimble.DotNetDocs.Core.DocReferenceHandlerBaseSyntax
Parameters
| Name | Type | Description |
|---|---|---|
documentationType | CloudNimble.DotNetDocs.Core.Configuration.SupportedDocumentationType | The documentation type (Mintlify, DocFX, MkDocs, etc.). |
Returns
Type:System.Collections.Generic.List<string>
A list of glob patterns for files that should be excluded from copying.
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MatchesGlobPattern Inherited
Inherited from
CloudNimble.DotNetDocs.Core.DocReferenceHandlerBaseSyntax
Parameters
| Name | Type | Description |
|---|---|---|
path | string | The file path to match. |
pattern | string | The glob pattern. |
Returns
Type:bool
True if the path matches the pattern, false otherwise.
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ProcessAsync Override
Syntax
Parameters
| Name | Type | Description |
|---|---|---|
reference | CloudNimble.DotNetDocs.Core.DocumentationReference | - |
documentationRootPath | string | - |
Returns
Type:System.Threading.Tasks.Task
ProcessAsync Inherited Abstract
Inherited from
CloudNimble.DotNetDocs.Core.DocReferenceHandlerBaseSyntax
Parameters
| Name | Type | Description |
|---|---|---|
reference | CloudNimble.DotNetDocs.Core.DocumentationReference | - |
documentationRootPath | string | - |
Returns
Type:System.Threading.Tasks.Task
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
ShouldExcludeDirectory Inherited
Inherited from
CloudNimble.DotNetDocs.Core.DocReferenceHandlerBaseSyntax
Parameters
| Name | Type | Description |
|---|---|---|
relativePath | string | The relative path of the directory. |
exclusionPatterns | System.Collections.Generic.List<string> | List of glob patterns for exclusion. |
Returns
Type:bool
True if the directory should be excluded, false otherwise.
ShouldExcludeFile Inherited
Inherited from
CloudNimble.DotNetDocs.Core.DocReferenceHandlerBaseSyntax
Parameters
| Name | Type | Description |
|---|---|---|
relativePath | string | The relative path of the file. |
exclusionPatterns | System.Collections.Generic.List<string> | List of glob patterns for exclusion. |
Returns
Type:bool
True if the file should be excluded, false otherwise.
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?
Related APIs
- CloudNimble.DotNetDocs.Core.IDocReferenceHandler