You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2023/01/30 01:14:08 UTC

[logging-log4j-kotlin] 08/11: Add link to API docs

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

mattsicker pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j-kotlin.git

commit 84a915aaf7fda502f4c88adfef58904227e60444
Author: Matt Sicker <ma...@apache.org>
AuthorDate: Sun Jan 29 19:06:34 2023 -0600

    Add link to API docs
---
 log4j-api-kotlin/pom.xml | 1 +
 pom.xml                  | 6 +-----
 src/site/site.xml        | 1 +
 3 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/log4j-api-kotlin/pom.xml b/log4j-api-kotlin/pom.xml
index 3a06480..982a96a 100644
--- a/log4j-api-kotlin/pom.xml
+++ b/log4j-api-kotlin/pom.xml
@@ -122,6 +122,7 @@
         </executions>
         <configuration>
           <skip>false</skip>
+          <outputDir>${log4jParentDir}/target/site</outputDir>
         </configuration>
       </plugin>
 
diff --git a/pom.xml b/pom.xml
index b250782..dd54e0c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -401,11 +401,7 @@
               <outputDirectory>${project.build.directory}/generated-sources/site</outputDirectory>
               <resources>
                 <resource>
-                  <directory>${log4jParentDir}/src/site</directory>
-                  <excludes>
-                    <exclude>/resources/glyphicons-halflings-2-1.zip</exclude>
-                    <exclude>/resources/logo/**/*</exclude>
-                  </excludes>
+                  <directory>${project.basedir}/src/site</directory>
                 </resource>
               </resources>
             </configuration>
diff --git a/src/site/site.xml b/src/site/site.xml
index da3a2fb..e21b88f 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -45,6 +45,7 @@
       <item name="Maven, Ivy, and Gradle Artifacts" href="/artifacts.html"/>
       <item name="Download" href="/download.html"/>
       <item name="Usage" href="/usage.html"/>
+      <item name="API Docs" href="/log4j-api-kotlin/org.apache.logging.log4j.kotlin/"/>
       <item name="Changelog" href="/changelog/"/>
     </menu>