diff --git a/lib/docs/filters/fish/entries_sphinx.rb b/lib/docs/filters/fish/entries_sphinx.rb
index 9d33de17..f60227ee 100755
--- a/lib/docs/filters/fish/entries_sphinx.rb
+++ b/lib/docs/filters/fish/entries_sphinx.rb
@@ -14,7 +14,7 @@ module Docs
end
def get_type
- if root_page? || slug == 'faq' || slug == 'completions' || slug == 'fish_for_bash_users'
+ if root_page? || slug == 'faq' || slug == 'completions' || slug == 'fish_for_bash_users' || slug == 'prompt'
'Manual'
elsif slug.starts_with?('cmds') || slug == 'commands'
'Commands'
diff --git a/lib/docs/scrapers/fish.rb b/lib/docs/scrapers/fish.rb
index 8e9c3326..6bf6e0ff 100644
--- a/lib/docs/scrapers/fish.rb
+++ b/lib/docs/scrapers/fish.rb
@@ -8,14 +8,22 @@ module Docs
code: 'https://github.com/fish-shell/fish-shell'
}
- options[:skip] = %w(design.html license.html)
+ options[:skip] = %w(design.html license.html contributing.html)
# https://fishshell.com/docs/current/license.html
options[:attribution] = <<-HTML
- © 2005-2009 Axel Liljencrantz, 2009-2023 fish-shell contributors
+ © 2005-2009 Axel Liljencrantz, 2009-2025 fish-shell contributors
Licensed under the GNU General Public License, version 2.
HTML
+ version '4.0' do
+ self.release = '4.0.1'
+ 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.7' do
self.release = '3.7.0'
self.base_url = "https://fishshell.com/docs/#{version}/"