fastlane/lib/fastlane/documentation/markdown_docs_generator.rb in fastlane-2.96.0.beta.20180516050022 vs fastlane/lib/fastlane/documentation/markdown_docs_generator.rb in fastlane-2.96.0.beta.20180517050058
- old
+ new
@@ -129,11 +129,11 @@
@custom_content = load_custom_action_md(action)
if action.superclass != Fastlane::Action
# This means, the current method is an alias
# meaning we're gonna look if the parent class
- # as a custom md file.
- # e.g. `deliver.rb` super class is `upload_to_app_store.rb`
+ # has a custom md file.
+ # e.g. `DeliverAction`'s superclass is `UploadToAppStoreAction`
@custom_content ||= load_custom_action_md(action.superclass)
end
template = File.join(Fastlane::ROOT, "lib/assets/ActionDetails.md.erb")
result = ERB.new(File.read(template), 0, '-').result(binding) # https://web.archive.org/web/20160430190141/www.rrn.dk/rubys-erb-templating-system