File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ def get_name
1414 end
1515
1616 def get_type
17- if root_page? || slug == 'faq' || slug == 'completions' || slug == 'fish_for_bash_users'
17+ if root_page? || slug == 'faq' || slug == 'completions' || slug == 'fish_for_bash_users' || slug == 'prompt'
1818 'Manual'
1919 elsif slug . starts_with? ( 'cmds' ) || slug == 'commands'
2020 'Commands'
Original file line number Diff line number Diff line change @@ -8,14 +8,22 @@ class Fish < UrlScraper
88 code : 'https://github.com/fish-shell/fish-shell'
99 }
1010
11- options [ :skip ] = %w( design.html license.html )
11+ options [ :skip ] = %w( design.html license.html contributing.html )
1212
1313 # https://fishshell.com/docs/current/license.html
1414 options [ :attribution ] = <<-HTML
15- © 2005-2009 Axel Liljencrantz, 2009-2023 fish-shell contributors< br >
15+ © 2005-2009 Axel Liljencrantz, 2009-2025 fish-shell contributors< br >
1616 Licensed under the GNU General Public License, version 2.
1717 HTML
1818
19+ version '4.0' do
20+ self . release = '4.0.1'
21+ self . base_url = "https://fishshell.com/docs/#{ version } /"
22+
23+ options [ :skip ] . concat %w( genindex.html relnotes.html )
24+ html_filters . push 'sphinx/clean_html' , 'fish/clean_html_sphinx' , 'fish/entries_sphinx'
25+ end
26+
1927 version '3.7' do
2028 self . release = '3.7.0'
2129 self . base_url = "https://fishshell.com/docs/#{ version } /"
You can’t perform that action at this time.
0 commit comments