Skip to content

Commit

Permalink
feat: script to update javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
dialex committed May 29, 2022
1 parent 942f7d1 commit cb1f979
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .github/RUNBOOK.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```
Expand Down
6 changes: 6 additions & 0 deletions .github/update-javadoc.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash

mvn javadoc:javadoc
rm -r docs
cp -R target/site/apidocs docs
open docs/index.html

0 comments on commit cb1f979

Please sign in to comment.