Skip to content

Commit

Permalink
Website updates (#5)
Browse files Browse the repository at this point in the history
Co-authored-by: Werner Dietl <[email protected]>
  • Loading branch information
lucedes27 and wmdietl authored Jul 7, 2024
1 parent 4811ab6 commit 40c0aec
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/main/java/io/github/eisop/website/EisopSiteGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,9 @@ public static void main(String[] args) throws IOException {
e.printStackTrace();
}

File releaseOrg = new File(String.valueOf(javadocFolder) + "/checker-javadoc/org");
FileUtils.moveDirectoryToDirectory(releaseOrg, javadocFolder, false);

// Move index.html
// File releaseHTML = new File(String.valueOf(releaseFolder) +
// "/docs/tutorial/index.html");
Expand Down Expand Up @@ -305,6 +308,16 @@ public static void main(String[] args) throws IOException {

System.out.println("Latest release: " + String.valueOf(latestRelease));

// Rename cf/manual/manual.pdf to cf/manual/checker-framework-manual.pdf
File manualPDF = new File(String.valueOf(directoryPath) + "/manual/manual.pdf");
File checkerFrameworkManualPDF = new File(String.valueOf(directoryPath) + "/manual/checker-framework-manual.pdf");
FileUtils.copyFile(manualPDF, checkerFrameworkManualPDF);

// Copy CFLogo.png to cf/
File cfLogo = new File(String.valueOf(latestRelease) + "/tutorial/CFLogo.png");
File newCFLogo = new File(System.getProperty("user.dir") + "/cf/CFLogo.png");
FileUtils.copyFile(cfLogo, newCFLogo);

getAFU();
}

Expand Down

0 comments on commit 40c0aec

Please sign in to comment.