File tree 2 files changed +11
-3
lines changed
2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ def get_name
14
14
end
15
15
16
16
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'
18
18
'Manual'
19
19
elsif slug . starts_with? ( 'cmds' ) || slug == 'commands'
20
20
'Commands'
Original file line number Diff line number Diff line change @@ -8,14 +8,22 @@ class Fish < UrlScraper
8
8
code : 'https://github.com/fish-shell/fish-shell'
9
9
}
10
10
11
- options [ :skip ] = %w( design.html license.html )
11
+ options [ :skip ] = %w( design.html license.html contributing.html )
12
12
13
13
# https://fishshell.com/docs/current/license.html
14
14
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 >
16
16
Licensed under the GNU General Public License, version 2.
17
17
HTML
18
18
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
+
19
27
version '3.7' do
20
28
self . release = '3.7.0'
21
29
self . base_url = "https://fishshell.com/docs/#{ version } /"
You can’t perform that action at this time.
0 commit comments