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.
| Parameter | Type | Description |
|---|---|---|
| entity_type | str |
_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 “__”).
| Parameter | Type | Description |
|---|---|---|
| base_path | str | |
| overload | str |
_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.
| Parameter | Type | Description |
|---|---|---|
| namespace_name | str | |
| class_name | str | |
| fully_qualified_name | str |
_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.
| Parameter | Type | Description |
|---|---|---|
| safe_ns_name | str | |
| ns_name | str |
_get_path_separator
_get_path_separator(self) -> str
C# scopes nest with “.”.