Skip to content

Commit d022f04

Browse files
committed
Add Javadoc to Asciidoc converter
We add a converter between Javadoc and Asciidoc that converts: * from a [`DocCommentTree`](https://docs.oracle.com/en/java/javase/17/docs/api/jdk.compiler/com/sun/source/doctree/DocCommentTree.html), provided by the `javac` compiler or `javadoc` tool, * to an AsciiDoctorJ [`Document`](https://javadoc.io/static/org.asciidoctor/asciidoctorj/3.0.0-alpha.2/org/asciidoctor/ast/Document.html). We provide a primitive implementation of the AsciiDoctorJ API that converts the AST back into a text document.
1 parent 5eb5e66 commit d022f04

File tree

16 files changed

+1854
-0
lines changed

16 files changed

+1854
-0
lines changed

log4j-docgen/pom.xml

+28
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
<artifactId>log4j-docgen</artifactId>
2828

2929
<properties>
30+
<maven.compiler.release>17</maven.compiler.release>
3031
<bnd.baseline.fail.on.missing>false</bnd.baseline.fail.on.missing>
3132
</properties>
3233

@@ -38,11 +39,38 @@
3839
<scope>provided</scope>
3940
</dependency>
4041

42+
<dependency>
43+
<groupId>org.asciidoctor</groupId>
44+
<artifactId>asciidoctorj-api</artifactId>
45+
<version>3.0.0-alpha.2</version>
46+
</dependency>
47+
48+
<dependency>
49+
<groupId>org.apache.commons</groupId>
50+
<artifactId>commons-lang3</artifactId>
51+
</dependency>
52+
4153
<dependency>
4254
<groupId>org.freemarker</groupId>
4355
<artifactId>freemarker</artifactId>
4456
</dependency>
4557

58+
<dependency>
59+
<groupId>org.apache.logging.log4j</groupId>
60+
<artifactId>log4j-api</artifactId>
61+
</dependency>
62+
63+
<dependency>
64+
<groupId>org.apache.logging.log4j</groupId>
65+
<artifactId>log4j-plugins</artifactId>
66+
</dependency>
67+
68+
<dependency>
69+
<groupId>org.apache.logging.log4j</groupId>
70+
<artifactId>log4j-core</artifactId>
71+
<scope>test</scope>
72+
</dependency>
73+
4674
<dependency>
4775
<groupId>org.junit.jupiter</groupId>
4876
<artifactId>junit-jupiter-api</artifactId>

0 commit comments

Comments
 (0)