Преглед изворни кода

Update Fish documentation (3.6.0)

Simon Legner пре 2 година
родитељ
комит
da5430aaff
1 измењених фајлова са 9 додато и 1 уклоњено
  1. 9 1
      lib/docs/scrapers/fish.rb

+ 9 - 1
lib/docs/scrapers/fish.rb

@@ -12,10 +12,18 @@ module Docs
 
     # https://fishshell.com/docs/current/license.html
     options[:attribution] = <<-HTML
-      &copy; 2022 fish-shell developers<br>
+      &copy; 2005-2009 Axel Liljencrantz, 2009-2023 fish-shell contributors<br>
       Licensed under the GNU General Public License, version 2.
     HTML
 
+    version '3.6' do
+      self.release = '3.6.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.5' do
       self.release = '3.5.0'
       self.base_url = "https://fishshell.com/docs/#{version}/"