Fixed #147 .
This commit is contained in:
parent
390b94b70b
commit
47e132bc2d
|
@ -77,7 +77,7 @@ public class HtmlApiDocBuilder {
|
||||||
IDocBuildTemplate docBuildTemplate = BuildTemplateFactory.getDocBuildTemplate(config.getFramework());
|
IDocBuildTemplate docBuildTemplate = BuildTemplateFactory.getDocBuildTemplate(config.getFramework());
|
||||||
List<ApiDoc> apiDocList = docBuildTemplate.getApiData(configBuilder);
|
List<ApiDoc> apiDocList = docBuildTemplate.getApiData(configBuilder);
|
||||||
Template indexCssTemplate = BeetlTemplateUtil.getByName(ALL_IN_ONE_CSS);
|
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("js/"+HIGH_LIGHT_JS, config.getOutPath() + FILE_SEPARATOR + HIGH_LIGHT_JS);
|
||||||
copyJarFile("css/"+FONT_STYLE, config.getOutPath() + FILE_SEPARATOR + FONT_STYLE);
|
copyJarFile("css/"+FONT_STYLE, config.getOutPath() + FILE_SEPARATOR + FONT_STYLE);
|
||||||
copyJarFile("js/"+JQUERY, config.getOutPath() + FILE_SEPARATOR + JQUERY);
|
copyJarFile("js/"+JQUERY, config.getOutPath() + FILE_SEPARATOR + JQUERY);
|
||||||
|
|
|
@ -93,6 +93,8 @@ public interface DocGlobalConstants {
|
||||||
|
|
||||||
String ALL_IN_ONE_CSS = "css/AllInOne.css";
|
String ALL_IN_ONE_CSS = "css/AllInOne.css";
|
||||||
|
|
||||||
|
String ALL_IN_ONE_CSS_OUT = "AllInOne.css";
|
||||||
|
|
||||||
String FONT_STYLE = "font.css";
|
String FONT_STYLE = "font.css";
|
||||||
|
|
||||||
String HIGH_LIGHT_JS = "highlight.min.js";
|
String HIGH_LIGHT_JS = "highlight.min.js";
|
||||||
|
|
Loading…
Reference in New Issue