History

eigen3: clean html, scss

Simon Legner committed 4 years ago

Commit c94aa251 parent 789afa43 files · +7 −83Browse files

Unified · Split

3 files
  1. assets/stylesheets/pages/_eigen3.scss +0 −82
  2. lib/docs/filters/eigen3/clean_html.rb +6 −0
  3. lib/docs/scrapers/eigen3.rb +1 −1
assets/stylesheets/pages/_eigen3.scss+0−82
@@ -1,82 +0,0 @@
1._eigen3 {
2 code, span.mlabel { @extend %label; }
3
4 .title { @extend h1; }
5
6 /* Breadcrumb Navigation */
7 div.ingroups {
8 font-size: 10pt;
9 text-align: left;
10 }
11
12 /* Method Title */
13 .memtitle {
14 padding: 6px;
15 @extend %heading-box;
16 }
17
18 /* begin Method Declearation */
19 .mdescLeft, .mdescRight, .memItemLeft, .memItemRight,
20 .memTemplItemLeft, .memTemplItemRight, .memtemplate, .memTemplParams {
21 border: none;
22 padding: 1px 8px 0 8px;
23 }
24
25 .memtemplate, .memTemplParams {
26 font-size: 80%;
27 color: var(--prismKeyword);
28 }
29
30 .memproto, dl.reflist dt {
31 border: 1px solid var(--boxBorder);
32 margin-bottom: 0.8em;
33 }
34
35 .memproto a.el, .memberdecls a.el {
36 color: var(--prismKeyword);
37 text-decoration: none;
38 }
39
40 .memdoc {
41 padding-left: 6px;
42 }
43
44 table.mlabels {
45 padding: 0;
46 margin: 0;
47 border: none;
48 }
49
50 td.mlabels-left, td.mlabels-right {
51 border: none;
52 padding: 0;
53 vertical-align: bottom;
54 }
55
56 td.mlabels-left {
57 width: 100%;
58 }
59
60 td.memSeparator {
61 line-height: 1px;
62 padding: 0px;
63 }
64
65 table.memname {
66 border: none;
67 margin-left: 6px;
68 margin-top: 0.5em;
69 th, td {
70 padding: 1px;
71 vertical-align: bottom;
72 }
73 tr, th, td {
74 border: none;
75 }
76 }
77
78 .paramname, .mlabels-left, .mlabels-right, .memtemplate, .memTemplParams {
79 white-space: nowrap;
80 }
81 /* end Method Declearation */
82}
lib/docs/filters/eigen3/clean_html.rb+6−0
@@ -12,6 +12,12 @@ module Docs · 11 unmodified lines
12 css('.top').remove12 css('.top').remove
13 css('.dynheader.closed').remove13 css('.dynheader.closed').remove
14 css('.permalink').remove14 css('.permalink').remove
15 css('.groupheader').remove
16 css('.header').remove
17 css('#details').remove
18 css('*').each do |node|
19 node.remove_attribute('class')
20 end
15 doc21 doc
16 end22 end
17 end23 end
lib/docs/scrapers/eigen3.rb+1−1
@@ -15,7 +15,7 @@ module Docs · 14 unmodified lines
15 code: 'https://gitlab.com/libeigen/eigen'15 code: 'https://gitlab.com/libeigen/eigen'
16 }16 }
17 17
18 html_filters.push 'eigen3/entries', 'eigen3/clean_html'18 html_filters.push 'eigen3/entries', 'eigen3/clean_html', 'title'
19 19
20 # Remove the `clean_text` because Doxygen are actually creating empty20 # Remove the `clean_text` because Doxygen are actually creating empty
21 # anchor such as <a id="asd"></a> to do anchor link.. and that anchor21 # anchor such as <a id="asd"></a> to do anchor link.. and that anchor