diff --git a/src/site/apt/examples/stylesheet-configuration.apt.vm b/src/site/apt/examples/stylesheet-configuration.apt.vm index e38d347c3..61e73326c 100644 --- a/src/site/apt/examples/stylesheet-configuration.apt.vm +++ b/src/site/apt/examples/stylesheet-configuration.apt.vm @@ -29,37 +29,11 @@ Configuring Stylesheets - If no custom stylesheet is specified in the {{{../javadoc-mojo.html#stylesheetfile}\}} parameter, - the {{{../javadoc-mojo.html#stylesheet}\}} parameter will indicate - which stylesheet will be used -- the stylesheet included in the maven javadoc plugin or the default stylesheet used by - the javadoc tool. <> value indicates the maven javadoc plugin stylesheet, while <> value indicates the - default javadoc tool stylesheet. The default is <> value if not specified. + To apply minor styling adjustments it is recommended to just configure additional stylesheets (in addition to the javadoc generated CSS) via + {{{../javadoc-mojo.html#addstylesheets}\}} (supported since 3.3.0). -+-----+ - - ... - (or ) - - - org.apache.maven.plugins - maven-javadoc-plugin - ${project.version} - - maven - ... - - - - ... - (or ) - ... - -+-----+ - -Configuring Stylesheets File - - If a custom {{{../javadoc-mojo.html#stylesheetfile}\}} parameter is specified, you will be able to - use it: + If a custom {{{../javadoc-mojo.html#stylesheetfile}\}} parameter is specified the javadoc generated CSS is completely replaced with + just the given CSS: * if {{{../javadoc-mojo.html#stylesheetfile}\}} is a given file, you could use an absolute or a relative path, for instance: