To facilitate translation of the user documentation we move the templating logic outside of the user documentation.