Skip to content

Commit ef6dd02

Browse files
Javadoc generation
1 parent 456af85 commit ef6dd02

File tree

3 files changed

+72
-0
lines changed

3 files changed

+72
-0
lines changed

gradle/doclet-exclude.jar

3.23 KB
Binary file not shown.

gradle/javadocStyleSheet.css

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# originally from http://sensemaya.org/files/stylesheet.css and then modified
2+
# http://sensemaya.org/maya/2009/07/10/making-javadoc-more-legible
3+
4+
/* Javadoc style sheet */
5+
6+
/* Define colors, fonts and other style attributes here to override the defaults */
7+
8+
/* Page background color */
9+
body { background-color: #FFFFFF; color:#333; font-size: 100%; }
10+
11+
body { font-size: 0.875em; line-height: 1.286em; font-family: "Helvetica", "Arial", sans-serif; }
12+
13+
code { color: #777; line-height: 1.286em; font-family: "Consolas", "Lucida Console", "Droid Sans Mono", "Andale Mono", "Monaco", "Lucida Sans Typewriter"; }
14+
15+
a { text-decoration: none; color: #16569A; /* also try #2E85ED, #0033FF, #6C93C6, #1D7BBE, #1D8DD2 */ }
16+
a:hover { text-decoration: underline; }
17+
18+
19+
table[border="1"] { border: 1px solid #ddd; }
20+
table[border="1"] td, table[border="1"] th { border: 1px solid #ddd; }
21+
table[cellpadding="3"] td { padding: 0.5em; }
22+
23+
font[size="-1"] { font-size: 0.85em; line-height: 1.5em; }
24+
font[size="-2"] { font-size: 0.8em; }
25+
font[size="+2"] { font-size: 1.4em; line-height: 1.3em; padding: 0.4em 0; }
26+
27+
/* Headings */
28+
h1 { font-size: 1.5em; line-height: 1.286em;}
29+
h2.title { color: #c81f08; }
30+
31+
/* Table colors */
32+
.TableHeadingColor { background: #ccc; color:#444; } /* Dark mauve */
33+
.TableSubHeadingColor { background: #ddd; color:#444; } /* Light mauve */
34+
.TableRowColor { background: #FFFFFF; color:#666; font-size: 0.95em; } /* White */
35+
.TableRowColor code { color:#000; } /* White */
36+
37+
/* Font used in left-hand frame lists */
38+
.FrameTitleFont { font-size: 100%; }
39+
.FrameHeadingFont { font-size: 90%; }
40+
.FrameItemFont { font-size: 0.9em; line-height: 1.3em;
41+
}
42+
/* Java Interfaces */
43+
.FrameItemFont a i {
44+
font-style: normal; color: #16569A;
45+
}
46+
.FrameItemFont a:hover i {
47+
text-decoration: underline;
48+
}
49+
50+
51+
/* Navigation bar fonts and colors */
52+
.NavBarCell1 { background-color:#E0E6DF; } /* Light mauve */
53+
.NavBarCell1Rev { background-color:#16569A; color:#FFFFFF} /* Dark Blue */
54+
.NavBarFont1 { }
55+
.NavBarFont1Rev { color:#FFFFFF; }
56+
57+
.NavBarCell2 { background-color:#FFFFFF; color:#000000}
58+
.NavBarCell3 { background-color:#FFFFFF; color:#000000}
59+

rxjava-core/build.gradle

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,16 @@ eclipse {
2222
}
2323
}
2424

25+
javadoc {
26+
// we do not want the org.rx.operations package include
27+
exclude '**/operations/**'
28+
29+
options {
30+
doclet = "org.benjchristensen.doclet.DocletExclude"
31+
docletpath = [rootProject.file('./gradle/doclet-exclude.jar')]
32+
stylesheetFile = rootProject.file('./gradle/javadocStyleSheet.css')
33+
windowTitle = "RxJava Javadoc ${project.version}"
34+
}
35+
options.addStringOption('top').value = '<h2 class="title" style="padding-top:40px">RxJava</h2>'
36+
}
37+

0 commit comments

Comments
 (0)