HtmlAddressingStrategy Class
- Namespace
- Kampute.DocToolkit.Routing
- Assembly
Definition
Provides an abstract base class for HTML-based addressing strategies that organize documentation files in a hierarchical structure.
public abstract class HtmlAddressingStrategy : AddressingStrategy
- Inheritance
- Inherited by
Thread Safety
Constructors
Properties
| ApiPath | Gets the path of the API documentation files. |
| IndexTopicName | Gets the filename (without extension) used for topics with subtopics and pinned topics. |
| PinnedIndexTopics | Gets the collection of pinned index topics, which are assigned specific paths relative to the documentation root. |
| TopicPath | Gets the path of the topic files. |
Methods
| GetApiPath(string) | Constructs the API path for the specified subpath, ensuring it is relative to the configured API path. |
| GetTopicPath(ITopic, char) | Constructs the path for the specified topic, replacing invalid characters with the provided replacement character. |
Extension Methods
It includes properties for API and topic paths, index topic names, and pinned topics, which are used to determine how documentation pages are addressed and organized within the HTML documentation structure.