Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions containers/python-bootstrap-container/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ sed -i -e "s|apiProductDocumentation|$PRODUCT_DOCS_URL|" "${WORKSPACE_DIR}/${MON
# If the API is `cloud`, the docs will be published to `cloud.google.com`.
# For non-cloud, the docs will be published to `googleapis.dev`.
if [[ $FOLDER_NAME =~ "cloud" ]]; then
CLIENT_DOCS_URL="$(echo https://cloud.google.com/python/docs/reference/$FOLDER_NAME/latest)"
CLIENT_DOCS_URL="https://cloud.google.com/python/docs/reference/$FOLDER_NAME/latest"
else
CLIENT_DOCS_URL="$(echo https://googleapis.dev/python/$FOLDER_NAME/latest)"
CLIENT_DOCS_URL="https://googleapis.dev/python/$FOLDER_NAME/latest"
fi

# Update clientDocumentation in .repo-metadata.json
Expand Down