googleapis / google-api-python-client

🐍 The official Python client library for Google's discovery based APIs.
https://googleapis.github.io/google-api-python-client/docs/
Apache License 2.0
7.78k stars 2.42k forks source link

Reference Documentation Not Visible #788

Open grant opened 4 years ago

grant commented 4 years ago

I'm unable to find an index of the documentation for APIs.

EXPECTED

ACTUAL

busunkim96 commented 4 years ago

There's a list at https://github.com/googleapis/google-api-python-client/blob/master/docs/dyn/index.md and it is linked from the docs README https://github.com/googleapis/google-api-python-client/blob/master/docs/README.md.

I've been working on to get all the docs onto googleapis.dev on a different branch. Unfortunately I haven't been able to work on it recently.

grant commented 4 years ago

I am really confused as to why there are so many doc links:

Ideally I can just quickly find the API I want like I can do with Node:

busunkim96 commented 4 years ago

I think there are two issues with the docs that have been touched on here:

Content: The API-specific docs can't be generated with the usual tool (sphinx) because classes are generated at runtime. There's a small script that combines the contents of the discovery doc and the generated code into the format you see at http://googleapis.github.io/google-api-python-client/docs/dyn/run_v1.html.

We can modify the script if folks think it is very hard to use, but there are no plans to do so right now.

Location: The API-specific docs are hard to get to right now. In the long-run, I'm reorganizing the docs to all be published at googleapis.dev. In the short term, I'll open a PR to get the list on the top-level README.

Thanks for the feedback!

grant commented 4 years ago

Thanks for listening, hope these changes will improve the doc experience for our devs!

vchudnov-g commented 1 year ago

We recommend using the newer Google Cloud Client Libraries where available, For Cloud Run, the library can be found here: https://github.com/googleapis/python-run

We are still working on improving our documentation overall.