From 44ae69e8427480d5fcf1058a8f0b7367fb239c01 Mon Sep 17 00:00:00 2001 From: xjkdev Date: Wed, 9 Mar 2022 15:08:28 +0800 Subject: [PATCH] Fix license version, and some entries issues. --- lib/docs/filters/eigen3/entries.rb | 3 ++- lib/docs/scrapers/eigen3.rb | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/docs/filters/eigen3/entries.rb b/lib/docs/filters/eigen3/entries.rb index 1aa134bf..12248a2f 100644 --- a/lib/docs/filters/eigen3/entries.rb +++ b/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 diff --git a/lib/docs/scrapers/eigen3.rb b/lib/docs/scrapers/eigen3.rb index 641ec72d..c7ed97a6 100644 --- a/lib/docs/scrapers/eigen3.rb +++ b/lib/docs/scrapers/eigen3.rb @@ -32,7 +32,7 @@ module Docs options[:attribution] = <<-HTML © Eigen.
- Licensed under the MPL License. + Licensed under the MPL2 License. HTML # Skip source code since it doesn't provide any useful docs