eigen3: clean html, scss

This commit is contained in:
Simon Legner 2022-03-31 08:25:32 +02:00
parent 789afa48b9
commit c94aa25e6c
3 changed files with 7 additions and 83 deletions

View file

@ -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 */
}

View file

@ -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

View file

@ -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 <a id="asd"></a> to do anchor link.. and that anchor