Skip to main content

Definition

Assembly: CloudNimble.DotNetDocs.Core.dll Namespace: CloudNimble.DotNetDocs.Core.Configuration Inheritance: System.Object

Syntax

Summary

Builder for configuring the DotNetDocs documentation pipeline.

Remarks

Provides a fluent API for registering renderers, enrichers, transformers, and configuring the documentation pipeline context.

Constructors

.ctor

Initializes a new instance of the DotNetDocsBuilder class.

Syntax

Parameters

Exceptions

.ctor Inherited

Inherited from object

Syntax

Methods

AddEnricher

Adds a custom enricher to the pipeline.

Syntax

Returns

Type: CloudNimble.DotNetDocs.Core.Configuration.DotNetDocsBuilder The builder for chaining.

Type Parameters

  • TEnricher - The type of enricher to add.

Examples

Remarks

Enrichers add conceptual content to documentation entities.

AddRenderer

Adds a custom renderer to the pipeline.

Syntax

Returns

Type: CloudNimble.DotNetDocs.Core.Configuration.DotNetDocsBuilder The builder for chaining.

Type Parameters

  • TRenderer - The type of renderer to add.

Examples

Remarks

Renderers generate output in specific formats (e.g., Markdown, JSON, YAML).

AddTransformer

Adds a custom transformer to the pipeline.

Syntax

Returns

Type: CloudNimble.DotNetDocs.Core.Configuration.DotNetDocsBuilder The builder for chaining.

Type Parameters

  • TTransformer - The type of transformer to add.

Examples

Remarks

Transformers modify the documentation model before rendering.

ConfigureContext

Configures the ProjectContext for the pipeline.

Syntax

Parameters

Returns

Type: CloudNimble.DotNetDocs.Core.Configuration.DotNetDocsBuilder The builder for chaining.

Examples

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?

UseJsonRenderer

Adds the JSON renderer to the pipeline.

Syntax

Parameters

Returns

Type: CloudNimble.DotNetDocs.Core.Configuration.DotNetDocsBuilder The builder for chaining.

Examples

UseMarkdownRenderer

Adds the Markdown renderer to the pipeline.

Syntax

Returns

Type: CloudNimble.DotNetDocs.Core.Configuration.DotNetDocsBuilder The builder for chaining.

Examples

Remarks

Also registers MarkdownXmlTransformer to process XML documentation tags.

UseMintlifyRenderer Extension

Extension method from CloudNimble.DotNetDocs.Core.Configuration.DotNetDocsMintlify_DotNetDocsBuilderExtensions
Adds the Mintlify renderer to the documentation pipeline.

Syntax

Parameters

Returns

Type: CloudNimble.DotNetDocs.Core.Configuration.DotNetDocsBuilder The builder for chaining.

Examples

Remarks

This method registers:

UseMintlifyRenderer Extension

Extension method from CloudNimble.DotNetDocs.Core.Configuration.DotNetDocsMintlify_DotNetDocsBuilderExtensions
Adds the Mintlify renderer to the documentation pipeline with configuration options.

Syntax

Parameters

Returns

Type: CloudNimble.DotNetDocs.Core.Configuration.DotNetDocsBuilder The builder for chaining.

Examples

Remarks

This method registers:

UseMintlifyRenderer Extension

Extension method from CloudNimble.DotNetDocs.Core.Configuration.DotNetDocsMintlify_DotNetDocsBuilderExtensions
Adds a custom Mintlify renderer implementation to the documentation pipeline.

Syntax

Parameters

Returns

Type: CloudNimble.DotNetDocs.Core.Configuration.DotNetDocsBuilder The builder for chaining.

Type Parameters

  • TRenderer - The type of Mintlify renderer to add.

Examples

Remarks

The renderer must inherit from MintlifyRenderer. This method also registers:

UseMintlifyRenderer Extension

Extension method from CloudNimble.DotNetDocs.Core.Configuration.DotNetDocsMintlify_DotNetDocsBuilderExtensions
Adds a custom Mintlify renderer implementation to the documentation pipeline with configuration options.

Syntax

Parameters

Returns

Type: CloudNimble.DotNetDocs.Core.Configuration.DotNetDocsBuilder The builder for chaining.

Type Parameters

  • TRenderer - The type of Mintlify renderer to add.

Examples

Remarks

The renderer must inherit from MintlifyRenderer. This method also registers:

UseYamlRenderer

Adds the YAML renderer to the pipeline.

Syntax

Returns

Type: CloudNimble.DotNetDocs.Core.Configuration.DotNetDocsBuilder The builder for chaining.

Examples