Skip to content

Commit

Permalink
When generating docs, remove pages for deleted checkers
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 390705810
  • Loading branch information
cushon authored and Error Prone Team committed Aug 13, 2021
1 parent 4aad239 commit 7844fe4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions util/generate-latest-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ mvn clean

mvn -P run-annotation-processor compile site
rsync -a docgen/target/generated-wiki/ ${GH_PAGES_DIR}
# remove docs from deleted checkers
rsync --delete -a docgen/target/generated-wiki/bugpattern/ ${GH_PAGES_DIR}/bugpattern/

cd $GH_PAGES_DIR
git add --all .
Expand Down

0 comments on commit 7844fe4

Please sign in to comment.