Skip to content

Commit 3d18ded

Browse files
authored
1 parent daa5842 commit 3d18ded

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

photon-docs/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ task generateJavaDocs(type: Javadoc) {
217217
classpath = files(exportedProjects.collect { project(it).sourceSets.main.compileClasspath })
218218
dependsOn project(':photon-core').writeCurrentVersion
219219

220-
options.links("https://docs.oracle.com/en/java/javase/17/docs/api/")
220+
options.links "https://docs.oracle.com/en/java/javase/17/docs/api/", "https://github.wpilib.org/allwpilib/docs/release/java/"
221221
options.addStringOption("tag", "pre:a:Pre-Condition")
222222
options.addBooleanOption("Xdoclint:html,missing,reference,syntax", true)
223223
options.addBooleanOption('html5', true)

shared/javacommon.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ def javaBaseName = "_GROUP_org_photonvision_${baseArtifactId}_ID_${baseArtifactI
1515
def outputsFolder = file("$buildDir/outputs")
1616

1717
javadoc {
18-
options.encoding = 'UTF-8'
18+
options {
19+
encoding = 'UTF-8'
20+
links "https://github.wpilib.org/allwpilib/docs/release/java/"
21+
}
1922
}
2023

2124
task sourcesJar(type: Jar, dependsOn: classes) {

0 commit comments

Comments
 (0)