[devdocsgjs/main: 224/239] Update Fish documentation (3.4.0)




commit 1d127650ba2ff8d950ab5c9cfd4cbfdb4ae4040c
Author: Simon Legner <Simon Legner gmail com>
Date:   Sun Mar 13 19:42:18 2022 +0100

    Update Fish documentation (3.4.0)

 assets/javascripts/templates/pages/about_tmpl.coffee |  2 +-
 lib/docs/scrapers/fish.rb                            | 10 +++++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee 
b/assets/javascripts/templates/pages/about_tmpl.coffee
index d8f1e249..b066c0ab 100644
--- a/assets/javascripts/templates/pages/about_tmpl.coffee
+++ b/assets/javascripts/templates/pages/about_tmpl.coffee
@@ -314,7 +314,7 @@ credits = [
     'https://raw.githubusercontent.com/falconry/falcon/master/LICENSE'
   ], [
     'Fish',
-    '2005–2009 Axel Liljencrantz, 2009–2021 fish-shell contributors',
+    '2005–2009 Axel Liljencrantz, 2009–2022 fish-shell contributors',
     'GPLv2',
     'https://fishshell.com/docs/current/license.html'
   ], [
diff --git a/lib/docs/scrapers/fish.rb b/lib/docs/scrapers/fish.rb
index f828d7aa..4202a30d 100644
--- a/lib/docs/scrapers/fish.rb
+++ b/lib/docs/scrapers/fish.rb
@@ -12,10 +12,18 @@ module Docs
 
     # https://fishshell.com/docs/current/license.html
     options[:attribution] = <<-HTML
-      &copy; 2021 fish-shell developers<br>
+      &copy; 2022 fish-shell developers<br>
       Licensed under the GNU General Public License, version 2.
     HTML
 
+    version '3.4' do
+      self.release = '3.4.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.3' do
       self.release = '3.3.0'
       self.base_url = "https://fishshell.com/docs/#{version}/";


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]