mrdocs::Config::sourceRoot

Path to the root directory of the source code

Synopsis

Declared in <mrdocs/Config.hpp>

std::string sourceRoot;

Description

The root directory of the source tree.

It is the default location for input files and the base for the relative paths MrDocs forms from absolute ones.

Set it to the root of the git project so those relative paths can link back to the source files in the repository; templates build those links from the base‐url option.

Created with MrDocs