Selaa lähdekoodia

Update Fish documentation (3.7.0)

Simon Legner 1 vuosi sitten
vanhempi
commit
263c8a57f6
1 muutettua tiedostoa jossa 8 lisäystä ja 0 poistoa
  1. 8 0
      lib/docs/scrapers/fish.rb

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

@@ -16,6 +16,14 @@ module Docs
       Licensed under the GNU General Public License, version 2.
     HTML
 
+    version '3.7' do
+      self.release = '3.7.0'
+      self.base_url = "https://fishshell.com/docs/#{version}/"
+
+      options[:skip].concat %w(genindex.html relnotes.html)
+      html_filters.push 'sphinx/clean_html', 'fish/clean_html_sphinx', 'fish/entries_sphinx'
+    end
+
     version '3.6' do
       self.release = '3.6.0'
       self.base_url = "https://fishshell.com/docs/#{version}/"