fastlane/lib/assets/Actions.md.erb in fastlane-2.50.0.beta.20170731010002 vs fastlane/lib/assets/Actions.md.erb in fastlane-2.50.0

- old
+ new

@@ -20,15 +20,19 @@ <%- @categories.each do |category, actions| -%> - [<%= category %>](#<%= category.gsub(" ", "-").downcase %>) <%- end -%> - [Plugins](https://docs.fastlane.tools/plugins/available-plugins) - <%- @categories.each do |category, actions| %> # <%= category %> - <%- actions.sort.to_h.each do |_number_of_launches, action| -%> +<div class='category-actions'> + +<%- actions.sort.to_h.each do |_number_of_launches, action| -%> + +<div class='action'> + ### <%= action.action_name %> <%= action.description %> <%= "> #{action.deprecated_notes.gsub("\n\n", "\n")}" unless action.deprecated_notes.to_s.empty? %> @@ -49,12 +53,12 @@ <summary><%= action.example_code.count %> Example<%= (action.example_code.count > 1) ? "s" : "" %></summary> <% action.example_code.each do |current_sample| %> ```ruby <%= current_sample.gsub(" ", "") %> ``` -<% end %> -<% end %> +<% end %><%# End of action.example_code... %> +<% end %><%# End of if %> </details> <% if action.available_options && action.available_options.first.kind_of?(FastlaneCore::ConfigItem) %> <details> <summary>Parameters</summary> @@ -65,11 +69,13 @@ <%- next unless config_item.kind_of?(FastlaneCore::ConfigItem) -%> <%- next if config_item.description.to_s.length == 0 -%> `<%= config_item.key %>` | <%= config_item.description %> <%- end %> </details> -<% end %> +</div> +<% end %><%# End of action.available_options... %> + <%- end %><%# End of actions.sort... %> +</div> - <%- end %> -<%- end %> +<%- end %><%# End of categories.each %>