DocumentUrlContext.DocumentationRootUrl Property
- Namespace
- Kampute.DocToolkit.Routing
- Assembly
- Kampute.DocToolkit.dll
Definition
Gets the absolute or document-relative URL to the documentation root for the current context.
public abstract Uri DocumentationRootUrl { get; }Property Value
- Uri
- The URL that identifies the documentation root from the current document.

When the root URL is a relative URL, it represents the path from the current document to the root of the documentation site. The following examples illustrate how a relative root URL is computed based on document location:
"""../""../../"