mrdocs::helpers::registerAntoraHelpers

Register all the Antora helpers into a Handlebars instance

Synopsis

Declared in <mrdocs/Support/Handlebars.hpp>

void
registerAntoraHelpers(Handlebars& hbs);

Description

This function registers all the helpers that are part of the default Antora UI.

Individual Antora helpers can also be registered with the public *_fn functions in this namespace.

Since the Antora helpers are not mandatory and include many functions not applicable to all applications, this allows the user to register only some of the Antora helpers.

Parameters

Name Description

hbs

The Handlebars instance to register the helpers into

See Also

https://gitlab.com/antora/antora‐ui‐default/‐/tree/master/src/helpers

Created with MrDocs