Commit cb539e2b authored by Michele's avatar Michele

Merge pull request #1738 from CocoaPods/author-doc

Clarify author documentation and template
parents 83615873 3c03675a
...@@ -492,13 +492,16 @@ Pod::Spec.new do |s| ...@@ -492,13 +492,16 @@ Pod::Spec.new do |s|
# ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # # ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
# #
# Specify the authors of the library, with email addresses. Email addresses # Specify the authors of the library, with email addresses. Email addresses
# of the authors by using the SCM log. E.g. $ git log. If no email can be # of the authors are extracted from the SCM log. E.g. $ git log. CocoaPods also
# found CocoaPods accept just the names. # accepts just a name if you'd rather not provide an email addresses.
# #
# Specify a social_media_url where others can refer to, for example a twitter
# profile URL.
#
s.author = { "#{data[:author_name]}" => "#{data[:author_email]}" } s.author = { "#{data[:author_name]}" => "#{data[:author_email]}" }
# s.authors = { "#{data[:author_name]}" => "#{data[:author_email]}", "other author" => "email@address.com" } # Or just: s.author = '#{data[:author_name]}'
# s.author = '#{data[:author_name]}', 'other author' # s.authors = { "#{data[:author_name]}" => "#{data[:author_email]}" }
# s.social_media_url = "http://twitter.com/#{data[:author_name]}" # s.social_media_url = "http://twitter.com/#{data[:author_name]}"
# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― # # ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment