Autogenerate document files

This commit is contained in:
xtaodada
2022-05-19 11:44:36 +08:00
committed by Melledy
Unverified
parent e3ed396889
commit 7fb26c3843
7 changed files with 6 additions and 11 deletions
@@ -17,7 +17,6 @@ final class RootRequestHandler implements DocumentationHandler {
private final String template;
public RootRequestHandler() {
ResourceLoader.loadResources();
final File templateFile = new File(Utils.toFilePath(DATA("documentation/index.html")));
if (templateFile.exists()) {
template = new String(FileUtils.read(templateFile), StandardCharsets.UTF_8);