Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Commit 0f08ad0

Browse files
authored
Publish docs under latest/. Fixes #489 (#622)
1 parent a26b38c commit 0f08ad0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,13 @@ task copyFilesToGhPages {
395395
into 'tmp_gh-pages'
396396
rename { filename -> filename.replace 'README', 'index' }
397397
}
398+
delete('tmp_gh-pages/latest/')
399+
def latestDirPath = 'tmp_gh-pages/latest/apidocs/'
400+
new File(latestDirPath).mkdirs()
401+
copy {
402+
from 'tmp_docs'
403+
into latestDirPath
404+
}
398405
}
399406
}
400407

0 commit comments

Comments
 (0)