Added docs command

This commit is contained in:
Erik C. Thauvin 2024-08-30 17:13:15 -07:00
parent a48a5d99fd
commit 50ae7438b0
Signed by: erik
GPG key ID: 776702A6A2DA330E
2 changed files with 14 additions and 0 deletions

View file

@ -107,6 +107,14 @@ public class ExampleBuild extends Project {
.execute();
}
@BuildCommand(value = "docs", summary = "Generates all documentation")
public void docs() throws ExitStatusException, IOException, InterruptedException {
dokkaGfm();
dokkaHtml();
dokkaJekyll();
javadoc();
}
@BuildCommand(value = "dokka-gfm", summary = "Generates documentation in GitHub flavored markdown format")
public void dokkaGfm() throws ExitStatusException, IOException, InterruptedException {
new DokkaOperation()