Skip to main content

Definition

Assembly: CloudNimble.DotNetDocs.Core.dll Namespace: CloudNimble.DotNetDocs.Core.Renderers Inheritance: CloudNimble.DotNetDocs.Core.Renderers.RendererBase

Syntax

Summary

Renders documentation as YAML files.

Remarks

Generates structured YAML documentation suitable for configuration files and integration with various documentation platforms.

Constructors

.ctor

Initializes a new instance of the YamlRenderer class.

Syntax

Parameters

.ctor Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Initializes a new instance of the RendererBase class.

Syntax

Parameters

.ctor Inherited

Inherited from object

Syntax

Properties

Context Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Gets the project context for this renderer.

Syntax

Property Value

Type: CloudNimble.DotNetDocs.Core.ProjectContext The project context containing configuration and settings.

Enabled Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
When more than one Renderer is registered, allows a renderer to be turned off.

Syntax

Property Value

Type: bool

FileNamingOptions Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Gets the file naming options for this renderer.

Syntax

Property Value

Type: CloudNimble.DotNetDocs.Core.Configuration.FileNamingOptions The file naming configuration.

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

EscapeXmlTagsInString Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Escapes XML/HTML tag syntax for safe rendering in Markdown/MDX.

Syntax

Parameters

Returns

Type: string The escaped string safe for MDX rendering.

Remarks

Converts angle brackets to HTML entities to prevent MDX parser interpretation as JSX/HTML tags. This handles both generic type syntax (e.g., JsonConverter<object>) and XML documentation tags (e.g., <see cref=”…”>) by converting them to JsonConverter&lt;object&gt; and &lt;see cref=”…”&gt; respectively.

GetAccessModifier Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Gets the access modifier string for the given accessibility.

Syntax

Parameters

Returns

Type: string The access modifier string.

GetEventSignature Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Gets the event signature string.

Syntax

Parameters

Returns

Type: string The event signature.

GetFieldSignature Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Gets the field signature string.

Syntax

Parameters

Returns

Type: string The field signature.

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetMemberSignature Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Gets the member signature for a member symbol.

Syntax

Parameters

Returns

Type: string The member signature string.

GetMethodSignature Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Gets the method signature string.

Syntax

Parameters

Returns

Type: string The method signature.

GetNamespaceFileName Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Gets a safe file name for a namespace, suitable for use in file systems.

Syntax

Parameters

Returns

Type: string A safe file name for the namespace.

Remarks

This method is deprecated. Use GetNamespaceFilePath instead.

GetNamespaceFilePath Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Gets the file path for a namespace documentation file.

Syntax

Parameters

Returns

Type: string The full file path for the namespace documentation.

GetPropertySignature Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Gets the property signature string.

Syntax

Parameters

Returns

Type: string The property signature.

GetSafeNamespaceName Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Gets a safe namespace name for use in file names and display.

Syntax

Parameters

Returns

Type: string A safe namespace name, using “global” for the global namespace.

GetSafeTypeName Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Gets a safe type name for use in file names, removing invalid characters.

Syntax

Parameters

Returns

Type: string A safe type name with invalid characters replaced.

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

GetTypeFileName Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Gets a safe file name for a type, suitable for use in file systems.

Syntax

Parameters

Returns

Type: string A safe file name for the type.

Remarks

This method is deprecated. Use GetTypeFilePath instead.

GetTypeFilePath Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Gets the file path for a type documentation file.

Syntax

Parameters

Returns

Type: string The full file path for the type documentation.

GetTypeSignature Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Gets the type signature string.

Syntax

Parameters

Returns

Type: string The type signature.

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

RemoveIndentation Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Removes common leading indentation from multi-line text content.

Syntax

Parameters

Returns

Type: string The text with common indentation removed.

RenderAsync

Renders the documentation assembly to YAML files.

Syntax

Parameters

Returns

Type: System.Threading.Tasks.Task A task representing the asynchronous rendering operation.

RenderPlaceholdersAsync

Renders placeholder conceptual content files for the documentation assembly.

Syntax

Parameters

Returns

Type: System.Threading.Tasks.Task A task representing the asynchronous placeholder rendering operation.

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?
  • CloudNimble.DotNetDocs.Core.IDocRenderer