diff --git a/assets/stylesheets/pages/_eigen3.scss b/assets/stylesheets/pages/_eigen3.scss index f0145d90..e69de29b 100644 --- a/assets/stylesheets/pages/_eigen3.scss +++ b/assets/stylesheets/pages/_eigen3.scss @@ -1,82 +0,0 @@ -._eigen3 { - code, span.mlabel { @extend %label; } - - .title { @extend h1; } - - /* Breadcrumb Navigation */ - div.ingroups { - font-size: 10pt; - text-align: left; - } - - /* Method Title */ - .memtitle { - padding: 6px; - @extend %heading-box; - } - - /* begin Method Declearation */ - .mdescLeft, .mdescRight, .memItemLeft, .memItemRight, - .memTemplItemLeft, .memTemplItemRight, .memtemplate, .memTemplParams { - border: none; - padding: 1px 8px 0 8px; - } - - .memtemplate, .memTemplParams { - font-size: 80%; - color: var(--prismKeyword); - } - - .memproto, dl.reflist dt { - border: 1px solid var(--boxBorder); - margin-bottom: 0.8em; - } - - .memproto a.el, .memberdecls a.el { - color: var(--prismKeyword); - text-decoration: none; - } - - .memdoc { - padding-left: 6px; - } - - table.mlabels { - padding: 0; - margin: 0; - border: none; - } - - td.mlabels-left, td.mlabels-right { - border: none; - padding: 0; - vertical-align: bottom; - } - - td.mlabels-left { - width: 100%; - } - - td.memSeparator { - line-height: 1px; - padding: 0px; - } - - table.memname { - border: none; - margin-left: 6px; - margin-top: 0.5em; - th, td { - padding: 1px; - vertical-align: bottom; - } - tr, th, td { - border: none; - } - } - - .paramname, .mlabels-left, .mlabels-right, .memtemplate, .memTemplParams { - white-space: nowrap; - } - /* end Method Declearation */ -} diff --git a/lib/docs/filters/eigen3/clean_html.rb b/lib/docs/filters/eigen3/clean_html.rb index 3cbe6bb2..3870566e 100644 --- a/lib/docs/filters/eigen3/clean_html.rb +++ b/lib/docs/filters/eigen3/clean_html.rb @@ -12,6 +12,12 @@ module Docs css('.top').remove css('.dynheader.closed').remove css('.permalink').remove + css('.groupheader').remove + css('.header').remove + css('#details').remove + css('*').each do |node| + node.remove_attribute('class') + end doc end end diff --git a/lib/docs/scrapers/eigen3.rb b/lib/docs/scrapers/eigen3.rb index e30fe54c..7ed3d1eb 100644 --- a/lib/docs/scrapers/eigen3.rb +++ b/lib/docs/scrapers/eigen3.rb @@ -15,7 +15,7 @@ module Docs code: 'https://gitlab.com/libeigen/eigen' } - html_filters.push 'eigen3/entries', 'eigen3/clean_html' + html_filters.push 'eigen3/entries', 'eigen3/clean_html', 'title' # Remove the `clean_text` because Doxygen are actually creating empty # anchor such as to do anchor link.. and that anchor