Skip to main content

Definition

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

Syntax

Summary

Represents a reference to external documentation to be combined into a documentation collection.

Remarks

This class encapsulates information needed to copy documentation files from a referenced project and integrate its navigation structure into a collection portal. Similar to MSBuild’s ProjectReference, but for documentation outputs.

Constructors

.ctor

Initializes a new instance of the DocumentationReference class.

Syntax

.ctor

Initializes a new instance of the DocumentationReference class with a project path.

Syntax

Parameters

.ctor Inherited

Inherited from object

Syntax

Properties

DestinationPath

Gets or sets the path to the destination folder within the collection’s documentation root.

Syntax

Property Value

Type: string The relative path where referenced documentation will be copied.

Examples

For a microservice named “auth-service”, this might be “services/auth”.

DocumentationRoot

Gets or sets the root directory containing the referenced documentation outputs.

Syntax

Property Value

Type: string The absolute path to the documentation root of the referenced project.

Examples

C:\repos\auth-service\docs

DocumentationType

Gets or sets the documentation type of the referenced project.

Syntax

Property Value

Type: CloudNimble.DotNetDocs.Core.Configuration.SupportedDocumentationType The documentation format (Mintlify, DocFX, MkDocs, Jekyll, Hugo, or Generic).

Remarks

This determines which file patterns to copy and whether navigation combining is supported.

IntegrationType

Gets or sets the integration type for Mintlify navigation.

Syntax

Property Value

Type: string Either “Tabs” or “Products” for Mintlify navigation structure.

Remarks

Only applicable when DocumentationType is “Mintlify”. Determines whether the referenced documentation appears in the top-level tabs or in the products section.

Name

Gets or sets the display name for this documentation reference in navigation.

Syntax

Property Value

Type: string? The name to display for this documentation in tabs, products, or other navigation structures.

Remarks

When specified, this name is used instead of deriving the name from the project or other metadata. Useful for providing user-friendly names in navigation elements. Gets or sets the path to the navigation configuration file for the referenced documentation.

Syntax

Property Value

Type: string The absolute path to the navigation file (e.g., docs.json for Mintlify).

Examples

C:\repos\auth-service\docs\docs.json

ProjectPath

Gets or sets the path to the .docsproj file being referenced.

Syntax

Property Value

Type: string The absolute path to the documentation project file.

Examples

C:\repos\auth-service\docs\AuthService.docsproj

Methods

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?