manifest.h Header

#include <manifest.h>

Functions

std::filesystem::path manifest_path(const std::filesystem::path & project_config, const std::string & source_path)
bool read_manifest(const std::filesystem::path & path, int & out, std::string * error = nullptr)

Function Documentation

std::filesystem::path manifest_path(const std::filesystem::path & project_config, const std::string & source_path)

Resolve the manifest's path from a project config path and its build.source_path value: /.docuriser, where a relative source_path resolves against the config's directory and an empty one falls back to the config directory itself (the same anchoring build paths have always used).

bool read_manifest(const std::filesystem::path & path, int & out, std::string * error = nullptr)

Read + parse + format-check a manifest. Returns false with *error filled (when non-null) if the file is missing, unparseable, or declares a format this build can't read; the message names the manifest path.

Appearance
Theme
—