Parcourir la source

cakephp: skip empty namespace-Cake.html

Simon Legner il y a 5 ans
Parent
commit
24dbf6fd26
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      lib/docs/scrapers/cakephp.rb

+ 1 - 1
lib/docs/scrapers/cakephp.rb

@@ -8,7 +8,7 @@ module Docs
       code: 'https://github.com/cakephp/cakephp'
     }
 
-    options[:skip_patterns] = [/\Asource-/]
+    options[:skip_patterns] = [/\Asource-/, /\Anamespace-Cake.html/]
 
     options[:attribution] = <<-HTML
       &copy; 2005&ndash;present The Cake Software Foundation, Inc.<br>