Skip to content

Commit

Permalink
feat(internal): add ability to regenerate one module's docs (#3777)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbpg authored Mar 8, 2021
1 parent 3b5f857 commit dc15995
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/kokoro/publish_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ if [[ -n "$FORCE_GENERATE_ALL" ]]; then
for m in $(find . -name go.mod -execdir go list -m \; | grep -v internal); do
godocfx -out obj/api/$m@latest $m
done
if [[ -n "$MODULE" ]]; then
godocfx "$MODULE"
else
godocfx -project $GCLOUD_TESTS_GOLANG_PROJECT_ID -new-modules cloud.google.com/go
fi
Expand Down

0 comments on commit dc15995

Please sign in to comment.