Kampute.DocToolkit.Routing Namespace

Provides components for resolving references and generating URLs for documentation elements.

Remarks

This namespace contains utilities for resolving references between documentation elements and generating links. These components create URLs for documentation pages, cross-references between API elements, and maps between code references and their corresponding documentation locations.

Classes

AddressingOptionsProvides options for addressing and organizing documentation files.
AddressingStrategyRepresents a base class for defining strategies to organize and address documentation pages.
ContextAwareUrlNormalizerNormalizes relative URLs based on the current document context to ensure proper navigation.
ContextAwareUrlTransformerProvides a context-aware URL transformer for transforming non-API site-root-relative URLs into absolute or document-relative URLs.
DocumentAddressProviderProvides URLs and file paths to the documentation of namespaces, types, and type members.
DocumentUrlContextRepresents a disposable context that manages relative URL resolution within a document context.
DocumentUrlContextManagerRepresents the base class for managing document-specific URL contexts for adjusting cross-document relative links.
HtmlAddressingOptionsProvides options for HTML-based addressing and organizing documentation files.
HtmlAddressingStrategyProvides an abstract base class for HTML-based addressing strategies that organize documentation files in a hierarchical structure.
MicrosoftDocsProvides URLs to the Microsoft Docs documentation site for .NET code elements.
PathToUrlMapperProvides a mapping between file references and their corresponding URLs.
RelativeToAbsoluteUrlNormalizerConverts relative URLs to absolute URLs using a fixed base URL.
RemoteApiDocUrlResolverProvides abstract functionality to resolve URLs to external documentation sites for code elements in specific namespaces.
RoutingExtensionsProvides extension methods to various types related to documentation URL resolution and addressing strategies.
SearchBasedApiDocUrlResolverResolves URLs to search engines or documentation repositories for code elements that lack structured documentation.
StrategyBasedApiDocUrlResolverResolves URLs to external documentation sites for code elements using a structured addressing strategy.

Structs

ResourceAddressRepresents a resource address with support for both URL and file path representations.

Interfaces

IApiDocUrlProviderDefines a contract for resolving URLs to documentation of code elements.
IContextualAddressingStrategyRepresents an addressing strategy that requires documentation context information for initialization.
IDocumentAddressProviderRepresents a contract for resolving the documentation URLs and files for code references, types, members, and topics.
IDocumentAddressingStrategySpecifies how documentation content is organized into addressable pages.
IDocumentUrlContextProviderDefines a contract for establishing and managing document-specific URL contexts for adjusting cross-document relative links.
IRemoteApiDocUrlResolverDefines a contract for resolving URLs to documentation of code elements that are hosted remotely.
IResourceAddressDefines a contract to represent a resource address.
IUrlTransformerProvides a mapping between references and their corresponding URLs.