Skip to content

Commit

Permalink
Remove the default column in the plugin doc page to give space to the…
Browse files Browse the repository at this point in the history
… sidebar (#6715)

* Remove the default column in the plugin doc page to give space to the
sidebar

Fix: #6515
  • Loading branch information
ph authored and suyograo committed Feb 18, 2017
1 parent 976ae63 commit 504cfce
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions tools/logstash-docgen/templates/plugin-doc.asciidoc.erb
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ Complete configuration example:

Available configuration options:

[cols="<,<,<,<m",options="header",]
[cols="<,<,<",options="header",]
|=======================================================================
|Setting |Input type|Required|Default value
|Setting |Input type|Required
<% sorted_attributes.each do |name, config|
next if config[:obsolete]
next if config[:deprecated]
Expand All @@ -75,11 +75,6 @@ Available configuration options:
else
annotation += "|No"
end
if config.include?(:default)
annotation += "|`#{config[:default].inspect}`"
else
annotation += "|"
end
-%>
| <<plugins-<%= section %>s-<%=config_name%>-<%=name%>>> <%= annotation %>
<% end -%>
Expand Down

0 comments on commit 504cfce

Please sign in to comment.