How to register custom Handlebars Helper in AEM 6.1. Documentation seems to be wrong.
I want to write custom Handlebars helper for the server side execution.
The documentation is extremely limited (2 lines on this page):
https://docs.adobe.com/docs/en/aem/6-1/develop/communities/scf/handlebars-helpers.html#Custom SCF Helpers
"... Server-side Helpers
To implement a helper on the server-side, it is necessary to
create an implementation of the com.adobe.cq.social.handlebars.api.TemplateHelper interface
register the helper with the com.adobe.cq.social.handlebars.api.TemplateHelpersService
..."
And the TemplateHelperService methods are already deprecated in AEM 6.1.
The SCF examples that can be found do not show how to write custom server-side handlebars helper, whereas for the client side it is quite clear.
Is there any real life example on how to write the helper and much more important best practice for registering them in AEM 6.1?
Will the documentation be updated and be given more details?