Browse Source

Update Fish documentation (4.1.0)

Simon Legner 2 months ago
parent
commit
243cb86a6f
1 changed files with 8 additions and 0 deletions
  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.
       Licensed under the GNU General Public License, version 2.
     HTML
     HTML
 
 
+    version '4.1' do
+      self.release = '4.1.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 '4.0' do
     version '4.0' do
       self.release = '4.0.1'
       self.release = '4.0.1'
       self.base_url = "https://fishshell.com/docs/#{version}/"
       self.base_url = "https://fishshell.com/docs/#{version}/"