Skip to content

Commit 6d4e265

Browse files
authored
Merge pull request #4 from intergral/doc_build
fix(docs): fix doc error
2 parents c98faba + 06c3e64 commit 6d4e265

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

.github/workflows/on_push.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,19 @@ jobs:
5454
cache: 'maven'
5555
- name: Run PMD check
5656
run: mvn -U -B verify -Ppmd
57+
58+
59+
docs:
60+
runs-on: ubuntu-latest
61+
steps:
62+
- uses: actions/checkout@v3
63+
64+
- name: Set up JDK 11
65+
uses: actions/setup-java@v3
66+
with:
67+
java-version: '11'
68+
distribution: 'temurin'
69+
cache: 'maven'
70+
- name: Run docs check
71+
run: mvn -s .ci-settings.xml clean package javadoc:jar -DskipTests -P release-ossrh -B -U -pl agent,deep --also-make
72+

deep/src/main/java/com/intergral/deep/Deep.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
* <p>
3535
* To use a deep API use
3636
* <code>
37-
* Deep.getInstance().<IDeep>api()
37+
* Deep.getInstance().&lt;IDeep&gt;api()
3838
* </code>
3939
*/
4040
public class Deep {

pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,10 @@
191191
<plugin>
192192
<groupId>org.apache.maven.plugins</groupId>
193193
<artifactId>maven-javadoc-plugin</artifactId>
194+
<configuration>
195+
<!--force the java doc to use java 8-->
196+
<source>8</source>
197+
</configuration>
194198
<executions>
195199
<execution>
196200
<id>attach-javadocs</id>

0 commit comments

Comments
 (0)