From edc5911e98bcb28b6164333a855d9b1e9ee782b6 Mon Sep 17 00:00:00 2001 From: oppofind <836575280@qq.com> Date: Sun, 27 Dec 2020 02:42:47 +0800 Subject: [PATCH] release 2.0.2 --- README_CN.md | 3 +++ build.gradle | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README_CN.md b/README_CN.md index 0da3bdd..3a524d3 100644 --- a/README_CN.md +++ b/README_CN.md @@ -85,6 +85,9 @@ subprojects{ "outPath": "D://md2" //指定文档的输出路径 相对路径时请写 ./ 不要写 / eg:./src/main/resources/static/doc } ``` +>如果你想把html文档也打包到应用中随着服务一起访问,则建议你配置路径为:src/main/resources/static/doc。 +[服务访问配置参考](https://gitee.com/smart-doc-team/smart-doc/wikis/smart-doc常见问题解决方法?sort_id=2457284) + 仅仅需要上面一行配置就能启动smart-doc-gradle-plugin插件,根据自己项目情况更多详细的配置参考下面。 **详细配置说明:** diff --git a/build.gradle b/build.gradle index 84e093d..ef6c2b5 100644 --- a/build.gradle +++ b/build.gradle @@ -19,7 +19,7 @@ plugins { } group 'com.github.shalousun' -version '2.0.1' +version '2.0.2' sourceCompatibility = 1.8 @@ -31,7 +31,7 @@ repositories { dependencies { testCompile group: 'junit', name: 'junit', version: '4.13.1' - compile 'com.github.shalousun:smart-doc:2.0.1' + compile 'com.github.shalousun:smart-doc:2.0.2' } tasks.withType(JavaCompile) { options.encoding = "UTF-8"