GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: fix sphinx identifiers by busunkim96 · Pull Request #714 · googleapis/gapic-generator-python

This repository was archived by the owner on Aug 25, 2026. It is now read-only.

Conversation

@busunkim96

@busunkim96 busunkim96 commented Dec 18, 2020 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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 enum classes are missing docstrings #625)
    image
  • Add newlines after bulleted lists by removing nl=False. Fixes Bullet lists in docstrings should end with blank lines #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)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@busunkim96
docs: fix sphinx identifiers
8bfd4a0
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Dec 18, 2020
busunkim96 added 8 commits December 21, 2020 18:02
@busunkim96
fix: fix logic and existing tests
562ad9d
@busunkim96
test: add test for pb2 type
ab037c0
@busunkim96
test: simplify test
5e5dfb5
@busunkim96
fix: fix more types
49e3175
@busunkim96
docs: add pagers to docs
9dfc267
@busunkim96
docs: fix formatting for lro result type
df66812
@busunkim96
docs: list enums with undoc-members
4036e6c
@busunkim96
chore: format
99a1bf4
@codecov

codecov Bot commented Dec 21, 2020 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

Merging #714 (68e69a0) into master (edadb22) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #714   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           26        26           
  Lines         1598      1602    +4     
  Branches       324       326    +2     
=========================================
+ Hits          1598      1602    +4     
Impacted Files Coverage Δ
gapic/schema/wrappers.py 100.00% <ø> (ø)
gapic/schema/metadata.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update edadb22...68e69a0. Read the comment docs.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@busunkim96
fix: fix client_output_async
272769f
@busunkim96
busunkim96 marked this pull request as ready for review December 21, 2020 23:31
@busunkim96
busunkim96 requested review from a team and software-dov December 21, 2020 23:31
@busunkim96 busunkim96 mentioned this pull request Dec 21, 2020
enum classes are missing docstrings #625
Closed
@busunkim96 busunkim96 changed the title docs: fix sphinx identifiers fix: fix sphinx identifiers Dec 21, 2020
@busunkim96
fix: add newlines after field.meta.doc
68e69a0
software-dov
software-dov approved these changes Dec 22, 2020
View reviewed changes
@busunkim96
busunkim96 merged commit 39be474 into master Dec 22, 2020
@busunkim96
busunkim96 deleted the fix-sphinx branch December 22, 2020 17:51
gcf-merge-on-green Bot pushed a commit that referenced this pull request Dec 22, 2020
@release-please
chore: release 0.39.0 (#719)
f646767
🤖 I have created a release \*beep\* \*boop\* 
---
## [0.39.0](https://www.github.com/googleapis/gapic-generator-python/compare/v0.38.0...v0.39.0) (2020-12-22)


### Features

* allow warehouse name to be customized ([#717](https://www.github.com/googleapis/gapic-generator-python/issues/717)) ([7c185e8](https://www.github.com/googleapis/gapic-generator-python/commit/7c185e87cb4252b1f99ed121515814595f9492c4)), closes [#605](https://www.github.com/googleapis/gapic-generator-python/issues/605)


### Bug Fixes

* fix sphinx identifiers ([#714](https://www.github.com/googleapis/gapic-generator-python/issues/714)) ([39be474](https://www.github.com/googleapis/gapic-generator-python/commit/39be474b4419dfa521ef51927fd36dbf257d68e3)), closes [#625](https://www.github.com/googleapis/gapic-generator-python/issues/625) [#604](https://www.github.com/googleapis/gapic-generator-python/issues/604)
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please).
This was referenced Jan 18, 2022
chore(master): release reverted #1133
Merged
chore(master): release 0.39.1 #1146
Closed
This was referenced Jan 26, 2022
chore(main): release 0.39.1 #1160
Closed
chore(main): release 0.39.1 #1162
Closed
chore(main): release 0.61.0 #1163
Merged
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

1 more reviewer
@software-dov software-dov software-dov approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

enum classes are missing docstrings Bullet lists in docstrings should end with blank lines

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@busunkim96 @software-dov
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.