Skip to content

Commit 79b584d

Browse files
committed
fish: add version 3.0
1 parent eada92e commit 79b584d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/docs/scrapers/fish.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,17 @@ class Fish < UrlScraper
1212

1313
options[:skip] = %w(design.html license.html)
1414

15+
# https://fishshell.com/docs/current/license.html
1516
options[:attribution] = <<-HTML
1617
&copy; 2005&ndash;2009 Axel Liljencrantz<br>
1718
Licensed under the GNU General Public License, version 2.
1819
HTML
1920

21+
version '3.0' do
22+
self.release = '3.0.1'
23+
self.base_url = "https://fishshell.com/docs/#{version}/"
24+
end
25+
2026
version '2.7' do
2127
self.release = '2.7.1'
2228
self.base_url = "https://fishshell.com/docs/#{version}/"

0 commit comments

Comments
 (0)