Skip to content

Commit

Permalink
Merge pull request #171 from spdx/issue170
Browse files Browse the repository at this point in the history
Add exception HTML file with no html extension to website
  • Loading branch information
goneall authored Dec 18, 2023
2 parents 1281422 + d898679 commit f2685ca
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,8 @@ public void writeException(ListedLicenseException exception)
String exceptionJSONReference= "./" + exceptionJsonFileName;
File exceptionHtmlFile = new File(websiteFolder.getPath()+File.separator+exceptionHtmlFileName + ".html");
exceptionHtml.writeToFile(exceptionHtmlFile, exceptionHtmlTocReference);
File exceptionBaseFile = new File(websiteFolder.getPath()+File.separator+exceptionHtmlFileName);
exceptionHtml.writeToFile(exceptionBaseFile, exceptionHtmlTocReference);
if (exception.isDeprecated()) {
htmlExceptionToc.addDeprecatedException(exception, exceptionHTMLReference, exception.getDeprecatedVersion());
} else {
Expand Down

0 comments on commit f2685ca

Please sign in to comment.