Przeglądaj źródła

fish: add version 3.0

Simon Legner 6 lat temu
rodzic
commit
79b584dc14
1 zmienionych plików z 6 dodań i 0 usunięć
  1. 6 0
      lib/docs/scrapers/fish.rb

+ 6 - 0
lib/docs/scrapers/fish.rb

@@ -12,11 +12,17 @@ module Docs
 
     options[:skip] = %w(design.html license.html)
 
+    # https://fishshell.com/docs/current/license.html
     options[:attribution] = <<-HTML
       &copy; 2005&ndash;2009 Axel Liljencrantz<br>
       Licensed under the GNU General Public License, version 2.
     HTML
 
+    version '3.0' do
+      self.release = '3.0.1'
+      self.base_url = "https://fishshell.com/docs/#{version}/"
+    end
+
     version '2.7' do
       self.release = '2.7.1'
       self.base_url = "https://fishshell.com/docs/#{version}/"