Skip to content
Permalink
Browse files
feat(internal): add ability to regenerate one module's docs (#3777)
  • Loading branch information
tbpg committed Mar 8, 2021
1 parent 3b5f857 commit dc15995521bd065da4cfaae95642588919a8c548
Showing with 2 additions and 0 deletions.
  1. +2 −0 internal/kokoro/publish_docs.sh
@@ -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

0 comments on commit dc15995

Please sign in to comment.