You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kw...@apache.org on 2022/09/26 10:32:00 UTC

[maven-javadoc-plugin] branch MJAVADOC-685-update-site created (now b7bbfe63)

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

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


      at b7bbfe63 [MJAVADOC-685] no longer document deprecated parameter stylesheet

This branch includes the following new commits:

     new b7bbfe63 [MJAVADOC-685] no longer document deprecated parameter stylesheet

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-javadoc-plugin] 01/01: [MJAVADOC-685] no longer document deprecated parameter stylesheet

Posted by kw...@apache.org.
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 <kw...@apache.org>
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: