Definition
Assembly: CloudNimble.DotNetDocs.Core.dll Namespace: CloudNimble.DotNetDocs.Core Inheritance: System.ObjectSyntax
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
| Name | Type | Description |
|---|---|---|
projectPath | string | The path to the .docsproj file being referenced. |
.ctor Inherited
Inherited from
objectSyntax
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\docsDocumentationType
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.NavigationFilePath
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.jsonProjectPath
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.docsprojMethods
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?