浏览代码

fish: skip unwanted genindex.html commands.html

Simon Legner 5 年之前
父节点
当前提交
2aa7455d1d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lib/docs/scrapers/fish.rb

+ 1 - 0
lib/docs/scrapers/fish.rb

@@ -20,6 +20,7 @@ module Docs
       self.release = '3.1.2'
       self.base_url = "https://fishshell.com/docs/#{version}/"
 
+      options[:skip].concat %w(genindex.html commands.html)
       html_filters.push 'sphinx/clean_html', 'fish/clean_html_sphinx', 'fish/entries_sphinx'
     end