This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch MJAVADOC-685-update-site
in repository https://gitbox.apache.org/repos/asf/maven-javadoc-plugin.git

commit b7bbfe63c62ac77b75a1c6b15c5a49088eee1e54
Author: Konrad Windszus <[email protected]>
AuthorDate: Mon Sep 26 12:31:54 2022 +0200

    [MJAVADOC-685] no longer document deprecated parameter stylesheet
    
    document 'addStylesheets' as recommended way of configuring stylesheets
---
 .../apt/examples/stylesheet-configuration.apt.vm   | 34 +++-------------------
 1 file changed, 4 insertions(+), 30 deletions(-)

diff --git a/src/site/apt/examples/stylesheet-configuration.apt.vm 
b/src/site/apt/examples/stylesheet-configuration.apt.vm
index e38d347c..61e73326 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}\<stylesheetfile/\>}} parameter,
- the {{{../javadoc-mojo.html#stylesheet}\<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. <<maven>> value indicates the maven javadoc plugin 
stylesheet, while <<java>> value indicates the
- default javadoc tool stylesheet. The default is <<java>> 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}\<addStylesheets/\>}} (supported since 
3.3.0).
 
-+-----+
-<project>
-  ...
-  <reporting> (or <build>)
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-javadoc-plugin</artifactId>
-        <version>${project.version}</version>
-        <configuration>
-          <stylesheet>maven</stylesheet>
-          ...
-        </configuration>
-      </plugin>
-    </plugins>
-    ...
-  </reporting> (or </build>)
-  ...
-</project>
-+-----+
-
-Configuring Stylesheets File
-
- If a custom {{{../javadoc-mojo.html#stylesheetfile}\<stylesheetfile/\>}} 
parameter is specified, you will be able to
- use it:
+ If a custom {{{../javadoc-mojo.html#stylesheetfile}\<stylesheetfile/\>}} 
parameter is specified the javadoc generated CSS is completely replaced with
+ just the given CSS:
 
  * if {{{../javadoc-mojo.html#stylesheetfile}\<stylesheetfile/\>}} is a given 
file, you could use an absolute or a
  relative path, for instance:

Reply via email to