DocumentationContext.CreateUrlTransformer Method

Namespace
Kampute.DocToolkit
Assembly
  • Kampute.DocToolkit.dll

Definition

Creates the URL transformer for the documentation context.
protected virtual IUrlTransformer CreateUrlTransformer()

Returns

IUrlTransformer
The URL transformer to use for transforming non-API URLs in the documentation.

Remarks

This method creates an implementation of IUrlTransformer for transforming non-API site-root-relative URLs to absolute or document-relative URLs.

The default implementation returns an instance of the ContextAwareUrlTransformer class. Override this method in derived classes to provide a custom URL transformer implementation if needed.