> It might be a good idea to create a mixin for that, but then it wouldn't show up in the API

FWIW template mixin instantiations will be documentable once https://github.com/D-Programming-Language/dmd/pull/1485 is pulled.