Skip to content

Commit

Permalink
Link to wpilib javadocs in ours (#1509)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcm001 authored Oct 30, 2024
1 parent daa5842 commit 3d18ded
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion photon-docs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ task generateJavaDocs(type: Javadoc) {
classpath = files(exportedProjects.collect { project(it).sourceSets.main.compileClasspath })
dependsOn project(':photon-core').writeCurrentVersion

options.links("https://docs.oracle.com/en/java/javase/17/docs/api/")
options.links "https://docs.oracle.com/en/java/javase/17/docs/api/", "https://github.wpilib.org/allwpilib/docs/release/java/"
options.addStringOption("tag", "pre:a:Pre-Condition")
options.addBooleanOption("Xdoclint:html,missing,reference,syntax", true)
options.addBooleanOption('html5', true)
Expand Down
5 changes: 4 additions & 1 deletion shared/javacommon.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ def javaBaseName = "_GROUP_org_photonvision_${baseArtifactId}_ID_${baseArtifactI
def outputsFolder = file("$buildDir/outputs")

javadoc {
options.encoding = 'UTF-8'
options {
encoding = 'UTF-8'
links "https://github.wpilib.org/allwpilib/docs/release/java/"
}
}

task sourcesJar(type: Jar, dependsOn: classes) {
Expand Down

0 comments on commit 3d18ded

Please sign in to comment.