Skip to content

Commit 03f88d4

Browse files
committed
Print examples in javadoc and disable group and tparam in javadoc
1 parent ded5fef commit 03f88d4

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2482,6 +2482,19 @@
24822482
<placement>a</placement>
24832483
<head>Note:</head>
24842484
</tag>
2485+
<tag>
2486+
<name>example</name>
2487+
<placement>a</placement>
2488+
<head>Example:</head>
2489+
</tag>
2490+
<tag>
2491+
<name>group</name>
2492+
<placement>X</placement>
2493+
</tag>
2494+
<tag>
2495+
<name>tparam</name>
2496+
<placement>X</placement>
2497+
</tag>
24852498
</tags>
24862499
</configuration>
24872500
</plugin>

project/SparkBuild.scala

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,10 @@ object Unidoc {
742742
"-windowtitle", "Spark " + version.value.replaceAll("-SNAPSHOT", "") + " JavaDoc",
743743
"-public",
744744
"-noqualifier", "java.lang",
745-
"-tag", """note:a:Note\:"""
745+
"-tag", """note:a:Note\:""",
746+
"-tag", """example:a:Example\:""",
747+
"-tag", "group:X",
748+
"-tag", "tparam:X"
746749
),
747750

748751
// Use GitHub repository for Scaladoc source links

0 commit comments

Comments
 (0)