소스 검색

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