diff --git a/.github/RUNBOOK.md b/.github/RUNBOOK.md index e7a95f4..de3ce0f 100644 --- a/.github/RUNBOOK.md +++ b/.github/RUNBOOK.md @@ -25,9 +25,7 @@ How to do stuff ## Generate Javadoc ```sh -mvn javadoc:javadoc -rm -r docs -cp -R target/site/apidocs docs +./.github/update-javadoc.sh git add . git commit -m "doc: update javadoc to latest version" ``` diff --git a/.github/update-javadoc.sh b/.github/update-javadoc.sh new file mode 100755 index 0000000..6acfd2e --- /dev/null +++ b/.github/update-javadoc.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +mvn javadoc:javadoc +rm -r docs +cp -R target/site/apidocs docs +open docs/index.html \ No newline at end of file