MRDOCS_PLUGIN_BUILD_ID

The identity of the MrDocs build a plugin is compiled against.

Synopsis

Declared in <mrdocs/Plugin.hpp>

#define MRDOCS_PLUGIN_BUILD_ID

Description

A plugin sees MrDocs types by their layout, and that layout changes in most commits, so a plugin loads only into the exact build it was compiled against. A plugin reports this value through mrdocs_plugin_build_id, and MrDocs refuses one whose value differs from its own instead of letting it fail later, somewhere unrelated.

The text is the one of mrdocs::project_build_id: the first 12 digits of the commit, such as 662773e585c8, with .modified after them for a tree with edits.

Created with MrDocs