Extends: ude.renderers.oda.ODAHugoMarkdownRenderer

Hugo Renderer for C#.

Methods

_classify_entity

_classify_entity(self, entity_type: str) -> str

Splits C# entities into Classes/Interfaces/Structures/Enumerations/Delegates folders.

ParameterTypeDescription
entity_typestr

_resolve_base_filename

_resolve_base_filename(self, base_path: str, overload: str) -> str

Flattens C#’s dotted namespace path into a “_"-joined filename.

ODA variant: joins with a single “_” (the current renderer, in ude.renderers.hugo_markdown.CsHugoDefaultRenderer, uses “__”).

ParameterTypeDescription
base_pathstr
overloadstr

_get_class_path

_get_class_path(self, namespace_name: str, class_name: str, fully_qualified_name: str) -> str

Builds the dot-qualified C# class path from its namespace and name.

ParameterTypeDescription
namespace_namestr
class_namestr
fully_qualified_namestr

_get_base_parent

_get_base_parent(self, safe_ns_name: str, ns_name: str) -> str

Uses the raw (unlocalized) namespace name as the sidebar parent.

ODA variant: unlike the current renderer, this does not route through _localize_qualified_name.

ParameterTypeDescription
safe_ns_namestr
ns_namestr

_get_path_separator

_get_path_separator(self) -> str

C# scopes nest with “.”.