DocumentUrlContext.RootUrl Property
- Namespace
- Kampute.DocToolkit.Routing
- Assembly
- Kampute.DocToolkit.dll
Definition
Gets the absolute or relative URL to the root of the documentation site for the current context.
public abstract Uri RootUrl { get; }Property Value
- Uri
- The URL that serves as the reference point for resolving relative URLs within the current context.

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:
"""../""../../"