Get the most out of javadocs

This commit is contained in:
Alexander Brandes 2023-01-09 13:17:36 +01:00
parent 78dbe7fbbc
commit 5b1bc98edd
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C
4 changed files with 14 additions and 2 deletions

View File

@ -105,6 +105,10 @@ tasks {
opt.links("https://jd.adventure.kyori.net/api/4.9.3/") opt.links("https://jd.adventure.kyori.net/api/4.9.3/")
opt.links("https://google.github.io/guice/api-docs/" + libs.guice.get().versionConstraint.toString() + "/javadoc/") opt.links("https://google.github.io/guice/api-docs/" + libs.guice.get().versionConstraint.toString() + "/javadoc/")
opt.links("https://checkerframework.org/api/") opt.links("https://checkerframework.org/api/")
opt.isLinkSource = true
opt.bottom(File("$rootDir/javadocfooter.html").readText())
opt.isUse = true
opt.encoding("UTF-8") opt.encoding("UTF-8")
opt.keyWords()
} }
} }

View File

@ -71,6 +71,10 @@ tasks {
opt.links("https://google.github.io/guice/api-docs/" + libs.guice.get().versionConstraint.toString() + "/javadoc/") opt.links("https://google.github.io/guice/api-docs/" + libs.guice.get().versionConstraint.toString() + "/javadoc/")
opt.links("https://checkerframework.org/api/") opt.links("https://checkerframework.org/api/")
opt.links("https://javadoc.io/doc/com.intellectualsites.informative-annotations/informative-annotations/latest/") opt.links("https://javadoc.io/doc/com.intellectualsites.informative-annotations/informative-annotations/latest/")
opt.isLinkSource = true
opt.bottom(File("$rootDir/javadocfooter.html").readText())
opt.isUse = true
opt.encoding("UTF-8") opt.encoding("UTF-8")
opt.keyWords()
} }
} }

View File

@ -114,7 +114,7 @@ public class PlayerAutoPlotEvent extends PlotEvent implements CancellablePlotEve
} }
/** /**
* @deprecated for removal. Use {@link PlayerAutoPlotEvent#setSizeX(int)} )} * @deprecated for removal. Use {@link PlayerAutoPlotEvent#setSizeX(int)}
*/ */
@Deprecated(forRemoval = true, since = "6.1.0") @Deprecated(forRemoval = true, since = "6.1.0")
public void setSize_x(int sizeX) { public void setSize_x(int sizeX) {
@ -130,7 +130,7 @@ public class PlayerAutoPlotEvent extends PlotEvent implements CancellablePlotEve
} }
/** /**
* @deprecated for removal. Use {@link PlayerAutoPlotEvent#setSizeZ(int)} )} * @deprecated for removal. Use {@link PlayerAutoPlotEvent#setSizeZ(int)}
*/ */
@Deprecated(forRemoval = true, since = "6.1.0") @Deprecated(forRemoval = true, since = "6.1.0")
public void setSize_z(int sizeZ) { public void setSize_z(int sizeZ) {

4
javadocfooter.html Normal file
View File

@ -0,0 +1,4 @@
Javadocs generated for
<a rel="noopener nofollow noreferrer" href="https://github.com/IntellectualSites/PlotSquared/" target="_blank"> PlotSquared</a> |
<a rel="noopener nofollow noreferrer" href="https://intellectualsites.github.io/plotsquared-documentation/"> Documentation </a> |
Visit us on our <a rel="noopener nofollow noreferrer" href="https://discord.gg/intellectualsites"> Discord server</a> :)