Browse Source

Fix license version, and some entries issues.

xjkdev 3 years ago
parent
commit
44ae69e842
2 changed files with 3 additions and 2 deletions
  1. 2 1
      lib/docs/filters/eigen3/entries.rb
  2. 1 1
      lib/docs/scrapers/eigen3.rb

+ 2 - 1
lib/docs/filters/eigen3/entries.rb

@@ -99,7 +99,8 @@ module Docs
             if doxygen_type == "Typedefs"
               content = content.sub(/\s*=.*$/, "")
             end
-            if not (name.end_with?('module') || name.end_with?('typedefs'))
+            if not (name.end_with?('module') || name.end_with?('typedefs')) \
+              and not content.start_with?("Eigen::")
               content = name + "::" + content
             end
 

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

@@ -32,7 +32,7 @@ module Docs
 
     options[:attribution] = <<-HTML
       &copy; Eigen.<br>
-      Licensed under the MPL License.
+      Licensed under the MPL2 License.
     HTML
 
     # Skip source code since it doesn't provide any useful docs