Skip to content

Commit 680bfbf

Browse files
authored
Add missing Javadoc stylesheets (#244)
1 parent 82f1c8a commit 680bfbf

File tree

3 files changed

+157
-0
lines changed

3 files changed

+157
-0
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,22 @@ jobs:
2323
- name: Test
2424
run: ./mvnw $MAVEN_ARGS verify
2525

26+
javadoc:
27+
28+
name: Javadoc
29+
runs-on: ubuntu-latest
30+
31+
steps:
32+
- uses: actions/checkout@v4
33+
- name: Set up Java
34+
uses: actions/setup-java@v4
35+
with:
36+
distribution: 'zulu'
37+
java-version: '21'
38+
cache: 'maven'
39+
- name: Generate Javadoc
40+
run: ./mvnw $MAVEN_ARGS -DskipTests package javadoc:javadoc
41+
2642
sonar:
2743

2844
name: Sonar code analysis

javadoc-theme/assertj-theme.css

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
:root {
2+
/* body, block and code fonts */
3+
--body-font-family: Verdana, Geneva, sans-serif;
4+
--block-font-family: Verdana, Geneva, serif;
5+
/* Text colors for body and block elements */
6+
--body-text-color: #000000;
7+
--block-text-color: #000000;
8+
/* Background colors for various structural elements */
9+
--body-background-color: #edd9a6;
10+
--section-background-color: #e9d195;
11+
--detail-background-color: #edd9a6;
12+
/* Colors for navigation bar and table captions */
13+
--navbar-background-color: #232323;
14+
--navbar-text-color: #edd9a6;
15+
/* Background color for subnavigation and various headers */
16+
--subnav-background-color: #e5c880;
17+
/* Background and text colors for selected tabs and navigation items */
18+
--selected-background-color: #e5c880;
19+
--selected-text-color: #000000;
20+
--selected-link-color: #861203;
21+
/* Background colors for generated tables */
22+
--even-row-color: #edd9a6;
23+
--odd-row-color: #e7ce8e;
24+
/* Text color for page title */
25+
--title-color: #000000;
26+
/* Text colors for links */
27+
--link-color: #861203;
28+
--link-color-active: #641003;
29+
/* Border colors for structural elements and user defined tables */
30+
--border-color: #e5c880;
31+
/* Search input colors */
32+
--search-input-background-color: #edd9a6;
33+
}

javadoc-theme/hljs-theme.css

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
/*
2+
3+
Railscasts-like style (c) Visoft, Inc. (Damien White)
4+
5+
*/
6+
7+
.hljs {
8+
display: block;
9+
overflow-x: auto;
10+
padding: 0.5em;
11+
background: #232323;
12+
color: #e6e1dc;
13+
/* added by us */
14+
border-radius:8px;
15+
}
16+
17+
.hljs-comment,
18+
.hljs-quote {
19+
color: #bc9458;
20+
font-style: italic;
21+
}
22+
23+
.hljs-keyword,
24+
.hljs-selector-tag {
25+
color: #c26230;
26+
}
27+
28+
.hljs-string,
29+
.hljs-number,
30+
.hljs-regexp,
31+
.hljs-variable,
32+
.hljs-template-variable {
33+
color: #a5c261;
34+
}
35+
36+
.hljs-subst {
37+
color: #519f50;
38+
}
39+
40+
.hljs-tag,
41+
.hljs-name {
42+
color: #e8bf6a;
43+
}
44+
45+
.hljs-type {
46+
color: #ffc66d;
47+
}
48+
49+
50+
.hljs-symbol,
51+
.hljs-bullet,
52+
.hljs-built_in,
53+
.hljs-builtin-name,
54+
.hljs-attr,
55+
.hljs-link {
56+
color: #6d9cbe;
57+
}
58+
59+
.hljs-params {
60+
color: #d0d0ff;
61+
}
62+
63+
.hljs-attribute {
64+
color: #cda869;
65+
}
66+
67+
.hljs-meta {
68+
color: #9b859d;
69+
}
70+
71+
.hljs-title,
72+
.hljs-section {
73+
color: #ffc66d;
74+
}
75+
76+
.hljs-addition {
77+
background-color: #144212;
78+
color: #e6e1dc;
79+
display: inline-block;
80+
width: 100%;
81+
}
82+
83+
.hljs-deletion {
84+
background-color: #600;
85+
color: #e6e1dc;
86+
display: inline-block;
87+
width: 100%;
88+
}
89+
90+
.hljs-selector-class {
91+
color: #9b703f;
92+
}
93+
94+
.hljs-selector-id {
95+
color: #8b98ab;
96+
}
97+
98+
.hljs-emphasis {
99+
font-style: italic;
100+
}
101+
102+
.hljs-strong {
103+
font-weight: bold;
104+
}
105+
106+
.hljs-link {
107+
text-decoration: underline;
108+
}

0 commit comments

Comments
 (0)