GitLabWikiStrategy.GetTopicPath Method

Namespace
Kampute.DocToolkit
Assembly
  • Kampute.DocToolkit.dll

Definition

Retrieves the relative documentation path for the specified topic.
protected override string GetTopicPath(ITopic topic)

Parameters

topic ITopic
The topic for which to retrieve the path.

Returns

string
The relative documentation path for the specified topic.

Exceptions

ArgumentNullException
Thrown when topic is null.

Remarks

The page of the main topic is placed at the path home, which GitLab serves as the front page of a wiki, regardless of the topic's title.