mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-14 04:02:00 +01:00
Merge pull request #201 from kezz/enhance-actions
Add external javadoc links
This commit is contained in:
commit
79da0de502
12
build.gradle
12
build.gradle
@ -47,6 +47,18 @@ allprojects {
|
||||
options {
|
||||
destinationDir(file("docs"))
|
||||
addBooleanOption('html5', true)
|
||||
links "https://jd.adventure.kyori.net/api/$adventureVersion/"
|
||||
links "https://docs.oracle.com/en/java/javase/11/docs/api/"
|
||||
}
|
||||
|
||||
// see https://stackoverflow.com/a/56641766
|
||||
doLast {
|
||||
// Append the fix to the file
|
||||
def searchScript = new File(destinationDir.getAbsolutePath() + '/search.js')
|
||||
searchScript.append '\n\n' +
|
||||
'getURLPrefix = function(ui) {\n' +
|
||||
' return \'\';\n' +
|
||||
'};\n'
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user