diff --git a/src/main/java/com/power/doc/builder/HtmlApiDocBuilder.java b/src/main/java/com/power/doc/builder/HtmlApiDocBuilder.java index 7b288f4..0f168ff 100644 --- a/src/main/java/com/power/doc/builder/HtmlApiDocBuilder.java +++ b/src/main/java/com/power/doc/builder/HtmlApiDocBuilder.java @@ -77,7 +77,7 @@ public class HtmlApiDocBuilder { IDocBuildTemplate docBuildTemplate = BuildTemplateFactory.getDocBuildTemplate(config.getFramework()); List apiDocList = docBuildTemplate.getApiData(configBuilder); Template indexCssTemplate = BeetlTemplateUtil.getByName(ALL_IN_ONE_CSS); - FileUtil.nioWriteFile(indexCssTemplate.render(), config.getOutPath() + FILE_SEPARATOR + ALL_IN_ONE_CSS); + FileUtil.nioWriteFile(indexCssTemplate.render(), config.getOutPath() + FILE_SEPARATOR + ALL_IN_ONE_CSS_OUT); copyJarFile("js/"+HIGH_LIGHT_JS, config.getOutPath() + FILE_SEPARATOR + HIGH_LIGHT_JS); copyJarFile("css/"+FONT_STYLE, config.getOutPath() + FILE_SEPARATOR + FONT_STYLE); copyJarFile("js/"+JQUERY, config.getOutPath() + FILE_SEPARATOR + JQUERY); diff --git a/src/main/java/com/power/doc/constants/DocGlobalConstants.java b/src/main/java/com/power/doc/constants/DocGlobalConstants.java index a1c64ae..1f06f6a 100644 --- a/src/main/java/com/power/doc/constants/DocGlobalConstants.java +++ b/src/main/java/com/power/doc/constants/DocGlobalConstants.java @@ -93,6 +93,8 @@ public interface DocGlobalConstants { String ALL_IN_ONE_CSS = "css/AllInOne.css"; + String ALL_IN_ONE_CSS_OUT = "AllInOne.css"; + String FONT_STYLE = "font.css"; String HIGH_LIGHT_JS = "highlight.min.js";