作为构建我的项目的一部分,我希望 Dokka 的 maven 插件构建一个 Markdown wiki,我可以将其部署到 github 而无需修改。我构建 Markdown 并通过 intellij 查看文档没有问题,但我希望将它直接托管在我项目的 github wiki 中。如果有人有任何想法如何做到这一点,那就太好了。
这是我目前的 Dokka 配置
<plugin>
<groupId>org.jetbrains.dokka</groupId>
<artifactId>dokka-maven-plugin</artifactId>
<version>0.9.16</version>
<executions>
<execution>
<phase>pre-site</phase>
<goals>
<goal>dokka</goal>
</goals>
</execution>
</executions>
<configuration>
<!-- Set to true to skip dokka task, default: false -->
<skip>false</skip>
<outputFormat>gfm</outputFormat>
<!-- Default: ${project.basedir}/target/dokka -->
<outputDir>${project.basedir}/docs/privateurl</outputDir>
<!-- Use default or set to custom path to cache directory to enable package-list caching. -->
<!-- When set to default, caches stored in $USER_HOME/.cache/dokka -->
<cacheRoot>default</cacheRoot>
<!-- List of …Run Code Online (Sandbox Code Playgroud)