Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: googleapis/gapic-generator-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.38.0
Choose a base ref
...
head repository: googleapis/gapic-generator-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.39.0
Choose a head ref
  • 3 commits
  • 23 files changed
  • 2 contributors

Commits on Dec 22, 2020

  1. fix: fix sphinx identifiers (#714)

    Cross-references like `~.ImageAnnotatorClient` don't always work correctly with sphinx. This PR changes the `sphinx()` method to always produce a full path like `google.cloud.vision_v1.ImageAnnotatorClient`. 
    
    Also some other smaller changes:
    - Generate a separate `.rst` page for each service, which improves readability for APIs that have (1) a lot of services or (2) a lot of methods in a service. `services.rst` acts as an index page instead.
    - Add pagers to the generated docs
    - Use `undoc-members` to list enum attributes in generated docs (fixes #625) 
    - Add newlines after bulleted lists by removing `nl=False`. Fixes #604 
    - Add a 'docs' session to the templated `noxfile.py` so folks using the self-service model can have generated docs.
    - Fix reference to LRO result type in `Returns:`
    - Fix `{@api.name}` reference in the `from_service_account..`. methods  to reference the client type instead
    - Remove `:class:` notation when specifying types for attributes (sphinx doesn't need it to create a link)
    busunkim96 authored Dec 22, 2020
    Configuration menu
    Copy the full SHA
    39be474 View commit details
    Browse the repository at this point in the history
  2. feat: allow warehouse name to be customized (#717)

    Allow warehouse name (package name in `setup.py`) to be customized via a CLI option.
    
    This is a pretty common reason for a `synth.py` regex replace:
    - One repo has more than one API (e.g., Bigtable and Bigtable Admin) but the package name should always be `google-cloud-bigtable`
    - We want an extra `-` in the repo name and package name to make it easier to read and type. (`google-cloud-binaryauthorization` -> `google-cloud-binary-authorization`)
    - Package name constructed from the namespace doesn't match the `google-cloud-{API}` convention (`google-cloud-devtools-containeranalysis` -> `google-cloud-containeranalysis`)
    
    Fixes #605
    busunkim96 authored Dec 22, 2020
    Configuration menu
    Copy the full SHA
    7c185e8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f646767 View commit details
    Browse the repository at this point in the history
Loading