Skip to content

Commit dc15995

Browse files
authored
feat(internal): add ability to regenerate one module's docs (#3777)
1 parent 3b5f857 commit dc15995

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/kokoro/publish_docs.sh

+2
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ if [[ -n "$FORCE_GENERATE_ALL" ]]; then
3535
for m in $(find . -name go.mod -execdir go list -m \; | grep -v internal); do
3636
godocfx -out obj/api/$m@latest $m
3737
done
38+
if [[ -n "$MODULE" ]]; then
39+
godocfx "$MODULE"
3840
else
3941
godocfx -project $GCLOUD_TESTS_GOLANG_PROJECT_ID -new-modules cloud.google.com/go
4042
fi

0 commit comments

Comments
 (0)