Skip to content

prototype: removing product_documentation_override with more values in librarian/sdk.yaml#16793

Draft
jskeet wants to merge 2 commits intogoogleapis:mainfrom
jskeet:remove-product-documentation-override-v2
Draft

prototype: removing product_documentation_override with more values in librarian/sdk.yaml#16793
jskeet wants to merge 2 commits intogoogleapis:mainfrom
jskeet:remove-product-documentation-override-v2

Conversation

@jskeet
Copy link
Copy Markdown
Contributor

@jskeet jskeet commented Apr 24, 2026

This is a version of #16791 generated with a local version of Librarian that includes googleapis/librarian#5573.

We still expect to lose documentation URIs from .repo-metadata.json files, but we shouldn't (hopefully) be removing any where there's a generated README.rst.

It would be reasonable to just review the README.rst changes.

jskeet added 2 commits April 24, 2026 06:46
This is a version of librarian with
googleapis/librarian#5573 applied.

We should not merge this PR, but if we're happy with the changes we
can do something similar after that PR is merged and we've updated to
a version including it.
@jskeet jskeet requested a review from daniel-sanche April 24, 2026 09:22
@jskeet jskeet added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Apr 24, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes numerous product_documentation_override entries from librarian.yaml and corresponding metadata files. While this cleanup aims to simplify the configuration, it frequently results in the loss of deep links to specific product documentation, replacing them with generic landing pages. I have identified several instances where this loss of specificity negatively impacts the user experience and documentation quality. Please restore the specific documentation overrides for the BigQuery, Cloud DNS, BigQuery Reservations, and Apigee Connect libraries to ensure users are directed to the most relevant resources.

Comment thread librarian.yaml
Comment on lines 886 to 887
name_pretty_override: Google Cloud BigQuery
product_documentation_override: https://cloud.google.com/bigquery
api_shortname_override: bigquery
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Removing the product_documentation_override for google-cloud-bigquery results in the complete removal of the product_documentation field from .repo-metadata.json (as seen in the changes to that file). This is a significant loss of metadata for a core library. If Librarian does not provide a suitable default value, the override should be maintained.

      name_pretty_override: Google Cloud BigQuery
      product_documentation_override: https://cloud.google.com/bigquery
      api_shortname_override: bigquery

Comment thread librarian.yaml
Comment on lines 1829 to 1830
name_pretty_override: Cloud DNS
product_documentation_override: https://cloud.google.com/dns
api_shortname_override: dns
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Similar to the BigQuery library, removing the override for google-cloud-dns causes the product_documentation link to be removed from .repo-metadata.json. This metadata is important for tools and consoles and should be preserved if Librarian cannot find a default.

      name_pretty_override: Cloud DNS
      product_documentation_override: https://cloud.google.com/dns
      api_shortname_override: dns

Comment thread librarian.yaml
Comment on lines 1043 to 1044
- warehouse-package-name=google-cloud-bigquery-reservation
product_documentation_override: https://cloud.google.com/bigquery/docs/reference/reservations
metadata_name_override: bigqueryreservation
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Removing this override causes the documentation link in README.rst and .repo-metadata.json to revert to the generic BigQuery landing page, losing the specific link to the Reservations documentation. This reduces the utility of the documentation links for users of this specific package. Consider retaining the more specific override.

          - warehouse-package-name=google-cloud-bigquery-reservation
      product_documentation_override: https://cloud.google.com/bigquery/docs/reference/reservations
      metadata_name_override: bigqueryreservation

Comment thread librarian.yaml
Comment on lines 516 to 517
- python-gapic-name=apigeeconnect
product_documentation_override: https://cloud.google.com/apigee/docs/hybrid/v1.4/apigee-connect
metadata_name_override: apigeeconnect
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The removal of this override leads to a loss of specificity in the documentation links, replacing a deep link to Apigee Connect with a general Apigee landing page. This is a regression in documentation quality for this package.

          - python-gapic-name=apigeeconnect
      product_documentation_override: https://cloud.google.com/apigee/docs/hybrid/v1.4/apigee-connect
      metadata_name_override: apigeeconnect

@jskeet
Copy link
Copy Markdown
Contributor Author

jskeet commented Apr 24, 2026

@parthea: I'm planning to regenerate this PR with a new version of Librarian once we've moved to that version of Librarian.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not merge Indicates a pull request not ready for merge, due to either quality or timing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant