File tree 1 file changed +4
-30
lines changed
1 file changed +4
-30
lines changed Original file line number Diff line number Diff line change 29
29
30
30
Configuring Stylesheets
31
31
32
- If no custom stylesheet is specified in the {{{../javadoc-mojo.html#stylesheetfile}\<stylesheetfile/\>}} parameter,
33
- the {{{../javadoc-mojo.html#stylesheet}\<stylesheet/\>}} parameter will indicate
34
- which stylesheet will be used -- the stylesheet included in the maven javadoc plugin or the default stylesheet used by
35
- the javadoc tool. <<maven>> value indicates the maven javadoc plugin stylesheet, while <<java>> value indicates the
36
- default javadoc tool stylesheet. The default is <<java>> value if not specified.
32
+ To apply minor styling adjustments it is recommended to just configure additional stylesheets (in addition to the javadoc generated CSS) via
33
+ {{{../javadoc-mojo.html#addstylesheets}\<addStylesheets/\>}} (supported since 3.3.0).
37
34
38
- +-----+
39
- <project>
40
- ...
41
- <reporting> (or <build>)
42
- <plugins>
43
- <plugin>
44
- <groupId>org.apache.maven.plugins</groupId>
45
- <artifactId>maven-javadoc-plugin</artifactId>
46
- <version>${project.version}</version>
47
- <configuration>
48
- <stylesheet>maven</stylesheet>
49
- ...
50
- </configuration>
51
- </plugin>
52
- </plugins>
53
- ...
54
- </reporting> (or </build>)
55
- ...
56
- </project>
57
- +-----+
58
-
59
- Configuring Stylesheets File
60
-
61
- If a custom {{{../javadoc-mojo.html#stylesheetfile}\<stylesheetfile/\>}} parameter is specified, you will be able to
62
- use it:
35
+ If a custom {{{../javadoc-mojo.html#stylesheetfile}\<stylesheetfile/\>}} parameter is specified the javadoc generated CSS is completely replaced with
36
+ just the given CSS:
63
37
64
38
* if {{{../javadoc-mojo.html#stylesheetfile}\<stylesheetfile/\>}} is a given file, you could use an absolute or a
65
39
relative path, for instance:
You can’t perform that action at this time.
0 commit comments