Browse Source

Remove doc generate lane

onevcat 5 years ago
parent
commit
bc8558672d
4 changed files with 3 additions and 41 deletions
  1. 0 1
      Gemfile
  2. 0 19
      Gemfile.lock
  3. 3 3
      README.md
  4. 0 18
      fastlane/Fastfile

+ 0 - 1
Gemfile

@@ -3,6 +3,5 @@
 source "https://rubygems.org"
 
 gem "fastlane"
-gem "jazzy"
 gem "cocoapods"
 gem "xcode-install"

+ 0 - 19
Gemfile.lock

@@ -170,19 +170,9 @@ GEM
     httpclient (2.8.3)
     i18n (1.8.6)
       concurrent-ruby (~> 1.0)
-    jazzy (0.13.6)
-      cocoapods (~> 1.5)
-      mustache (~> 1.1)
-      open4
-      redcarpet (~> 3.4)
-      rouge (>= 2.0.6, < 4.0)
-      sassc (~> 2.1)
-      sqlite3 (~> 1.3)
-      xcinvoke (~> 0.3.0)
     jmespath (1.4.0)
     json (2.5.1)
     jwt (2.2.2)
-    liferaft (0.0.6)
     memoist (0.16.2)
     mini_magick (4.11.0)
     mini_mime (1.0.2)
@@ -190,17 +180,14 @@ GEM
     molinillo (0.6.6)
     multi_json (1.15.0)
     multipart-post (2.0.0)
-    mustache (1.1.1)
     nanaimo (0.3.0)
     nap (1.1.0)
     naturally (2.2.0)
     netrc (0.11.0)
-    open4 (1.3.4)
     os (1.1.1)
     plist (3.6.0)
     public_suffix (4.0.6)
     rake (13.0.3)
-    redcarpet (3.5.1)
     representable (3.0.4)
       declarative (< 0.1.0)
       declarative-option (< 0.2.0)
@@ -210,8 +197,6 @@ GEM
     ruby-macho (1.4.0)
     ruby2_keywords (0.0.2)
     rubyzip (2.3.0)
-    sassc (2.4.0)
-      ffi (~> 1.9)
     security (0.1.3)
     signet (0.14.0)
       addressable (~> 2.3)
@@ -222,7 +207,6 @@ GEM
       CFPropertyList
       naturally
     slack-notifier (2.3.2)
-    sqlite3 (1.4.2)
     terminal-notifier (2.0.0)
     terminal-table (1.8.0)
       unicode-display_width (~> 1.1, >= 1.1.1)
@@ -241,8 +225,6 @@ GEM
     unf_ext (0.0.7.7)
     unicode-display_width (1.7.0)
     word_wrap (1.0.0)
-    xcinvoke (0.3.0)
-      liferaft (~> 0.0.6)
     xcode-install (2.6.8)
       claide (>= 0.9.1, < 1.1.0)
       fastlane (>= 2.1.0, < 3.0.0)
@@ -263,7 +245,6 @@ PLATFORMS
 DEPENDENCIES
   cocoapods
   fastlane
-  jazzy
   xcode-install
 
 BUNDLED WITH

+ 3 - 3
README.md

@@ -4,13 +4,13 @@
 
 <p align="center">
 <a href="https://github.com/onevcat/Kingfisher/actions?query=workflow%3Abuild"><img src="https://github.com/onevcat/kingfisher/workflows/build/badge.svg?branch=master"></a>
-<a href="http://onevcat.github.io/Kingfisher/"><img src="https://img.shields.io/cocoapods/v/Kingfisher.svg?style=flat"></a>
+<a href="https://kingfisher.onevcat.com/"><img src="https://img.shields.io/cocoapods/v/Kingfisher.svg?style=flat"></a>
 <a href="https://github.com/Carthage/Carthage/"><img src="https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat"></a>
 <a href="https://swift.org/package-manager/"><img src="https://img.shields.io/badge/SPM-supported-DE5C43.svg?style=flat"></a>
 <a href="https://github.com/JamitLabs/Accio"><img src="https://img.shields.io/badge/Accio-supported-0A7CF5.svg?style=flat"></a>
 <br />
 <a href="https://raw.githubusercontent.com/onevcat/Kingfisher/master/LICENSE"><img src="https://img.shields.io/cocoapods/l/Kingfisher.svg?style=flat"></a>
-<a href="http://onevcat.github.io/Kingfisher/"><img src="https://img.shields.io/cocoapods/p/Kingfisher.svg?style=flat"></a>
+<a href="https://kingfisher.onevcat.com/"><img src="https://img.shields.io/cocoapods/p/Kingfisher.svg?style=flat"></a>
 </p>
 
 Kingfisher is a powerful, pure-Swift library for downloading and caching images from the web. It provides you a chance to use a pure-Swift way to work with remote images in your next app.
@@ -202,7 +202,7 @@ We prepared a [wiki page](https://github.com/onevcat/Kingfisher/wiki). You can f
 
 * [Installation Guide](https://github.com/onevcat/Kingfisher/wiki/Installation-Guide) - Follow it to integrate Kingfisher into your project.
 * [Cheat Sheet](https://github.com/onevcat/Kingfisher/wiki/Cheat-Sheet)- Curious about what Kingfisher could do and how would it look like when used in your project? See this page for useful code snippets. If you are already familiar with Kingfisher, you could also learn new tricks to improve the way you use Kingfisher!
-* [API Reference](http://onevcat.github.io/Kingfisher/) - Lastly, please remember to read the full whenever you may need a more detailed reference.
+* [API Reference](https://kingfisher.onevcat.com/) - Lastly, please remember to read the full whenever you may need a more detailed reference.
 
 ## Other
 

+ 0 - 18
fastlane/Fastfile

@@ -77,8 +77,6 @@ platform :ios do
     log = extract_current_change_log(version: target_version)
     release_log = update_change_log(log: log)
     
-    # doc(version: target_version)
-    
     git_commit_all(message: "Bump version to #{target_version}")
     
     Actions.sh("git tag -s #{target_version} -m ''")
@@ -102,22 +100,6 @@ platform :ios do
     pod_push
   end
   
-  lane :doc do |options|
-    target_version = options[:version]
-    Actions.sh("cd .. && jazzy \
-      --clean \
-      -x USE_SWIFT_RESPONSE_FILE=NO \
-      --author \"Wei Wang\" \
-      --author_url https://onevcat.com \
-      --github_url https://github.com/onevcat/Kingfisher \
-      --github-file-prefix https://github.com/onevcat/Kingfisher/tree/#{target_version} \
-      --module-version #{target_version} \
-      --module Kingfisher \
-      --root-url http://onevcat.github.io/Kingfisher/ \
-      --output docs/ \
-      --theme fullwidth")
-  end
-  
   lane :xcframework do |options|
     target_version = "Kingfisher-#{options[:version]}"
     supporting_root = "../build/#{target_version}/Supporting Files"