Skip to content

Commit

Permalink
[1.5] Add [discrete] headers to Asciidoc generator (elastic#1089)
Browse files Browse the repository at this point in the history
  • Loading branch information
ebeahan committed Nov 4, 2020
1 parent aee0abd commit c639c6d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/generators/asciidoc_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ def field_details_table_header():
{fieldset_description}
[discrete]
==== {fieldset_title} Field Details
[options="header"]
Expand Down Expand Up @@ -228,6 +229,7 @@ def field_details_row():

def field_reuse_section():
return '''
[discrete]
==== Field Reuse
{reuse_of_fieldset}
Expand All @@ -240,6 +242,7 @@ def field_reuse_section():
def nestings_table_header():
return '''
[[ecs-{fieldset_name}-nestings]]
[discrete]
===== Field sets that can be nested under {fieldset_title}
[options="header"]
Expand Down

0 comments on commit c639c6d

Please sign in to comment.