Convert to plugin template format and merge in docs