Skip to content

feat(docs): publish Client libraries help to python reference documen…#16575

Open
bshaffer wants to merge 2 commits intogoogleapis:mainfrom
bshaffer:client-libraries-help
Open

feat(docs): publish Client libraries help to python reference documen…#16575
bshaffer wants to merge 2 commits intogoogleapis:mainfrom
bshaffer:client-libraries-help

Conversation

@bshaffer
Copy link
Copy Markdown
Contributor

@bshaffer bshaffer commented Apr 7, 2026

b/450298584

Publishes documentation to https://cloud.google.com/python/docs/reference under "Client libraries help".

This currently only contains the README.rst contents from the root of this repo. We will expand this to add more once we've confirmed this is deploying as expected.

@bshaffer bshaffer requested review from a team as code owners April 7, 2026 23:23
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 adds a new help package for documentation, including a DocFX helper script and Nox configuration. Key feedback includes concerns about shadowing the built-in help() function, unused imports and parameters in docfx_helper.py, and the need for explicit encoding during file operations. Improvements were also suggested for argument parsing and the removal of legacy Python 2 imports.

python_requires=">=3.10",
include_package_data=True,
zip_safe=False,
packages=["help"],
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

Naming the package help shadows the Python built-in help() function. This can lead to confusion and subtle bugs when users try to use the built-in help system after importing this package. It is strongly recommended to use a more specific name, such as google_cloud_help.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'll wait to hear the opinion of a repo maintainer before changing this. Happy to rename it to whatever.

@bshaffer
Copy link
Copy Markdown
Contributor Author

bshaffer commented Apr 8, 2026

I cannot seem to get the final job to pass, and would love some feedback on how to fix it... this is passing locally for me, so I am not sure how to fix it!

@bshaffer bshaffer force-pushed the client-libraries-help branch from a61bd74 to 4aa9b08 Compare April 8, 2026 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant