diff --git a/scripts/generators/asciidoc_fields.py b/scripts/generators/asciidoc_fields.py index d5f6e12588..605ec219fd 100644 --- a/scripts/generators/asciidoc_fields.py +++ b/scripts/generators/asciidoc_fields.py @@ -18,6 +18,7 @@ def generate(intermediate_nested, ecs_version, out_dir): # Helpers + def templated(template_name): """Decorator function to simplify rendering a template. @@ -201,6 +202,7 @@ def table_footer(): # Main Fields Table + @templated('field_details/table_header.j2') def field_details_table_header(title, name, description): return dict(name=name, title=title, description=description)