Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

生成的东西在那里 #1

Open
feihua opened this issue May 8, 2019 · 3 comments
Open

生成的东西在那里 #1

feihua opened this issue May 8, 2019 · 3 comments

Comments

@feihua
Copy link

feihua commented May 8, 2019

生成的东西在那里

@houbb
Copy link
Owner

houbb commented May 9, 2019

命令行会打印相关的生成信息。
执行生成命令后,你看下有没有 target/idoc 这样的文件夹。

@feihua
Copy link
Author

feihua commented May 10, 2019

我是直接点idea右边maven那里选择plugins展开双击运行的,idea控制台命令行提示Finish generate doc,但target/idoc里面没找到有,

@houbb
Copy link
Owner

houbb commented May 14, 2019

默认只是在命令行中输出一些解析的信息,如果你想生成 markdown 的文件。
参见 生成器配置

可以如下配置:

  1. 引入 idoc.ftl 模块

  2. 如下配置

<build>
    <plugins>
        <plugin>
            <groupId>com.github.houbb</groupId>
            <artifactId>idoc-core</artifactId>
            <version>0.0.2</version>
            <configuration>
                <isAllInOne>true</isAllInOne>
                <generates>
                    <generate>com.github.houbb.idoc.ftl.api.generator.MarkdownDocGenerator</generate>
                </generates>
            </configuration>
        </plugin>
    </plugins>
</build>
  1. 目前这个生成还有很多地方不完善。后面有时间再写吧 ORZ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants