DocumentAddressProvider.ToDocumentUrl Method

Namespace
Kampute.DocToolkit.Routing
Assembly
  • Kampute.DocToolkit.dll

Definition

Creates an absolute or document-relative URL from a path relative to the documentation root.
protected Uri ToDocumentUrl(string documentationRelativePath)

Parameters

documentationRelativePath string
The path relative to the documentation root.

Returns

Uri
A URL that correctly navigates from the current document's location to the target.