浏览代码

Should explicitly specify documentation url (#2569)

Cocoadocs does not work anymore. To avoid a 404 when a user clicks the documentation url on cocoapods, you need to specify a url.
Aryeh Greenberg 7 年之前
父节点
当前提交
15d33128ba
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Alamofire.podspec

+ 1 - 0
Alamofire.podspec

@@ -7,6 +7,7 @@ Pod::Spec.new do |s|
   s.social_media_url = 'http://twitter.com/AlamofireSF'
   s.authors = { 'Alamofire Software Foundation' => 'info@alamofire.org' }
   s.source = { :git => 'https://github.com/Alamofire/Alamofire.git', :tag => s.version }
+  s.documentation_ur = 'https://alamofire.github.io/Alamofire/'
 
   s.ios.deployment_target = '8.0'
   s.osx.deployment_target = '10.10'