I've noticed an issue with the rest of the libraries not being able to properly find the library names from the given Sphinx info.
Seems like I need to extract the .repo-metadata.json file directly to source this information - Sphinx has very limited ways to deliver this information through docs/conf.py.
Based on the googleapis/repo search, it seems that using name suffices for shortname for the library. If I encounter ones that don't work, I'll create an exception around those few. I've sampled ~100 and seems to work with using name instead of api_shortname.
Verified that existing library generation demo for bigframes and logging still works.
If the repository metadata could not be retrieved, skip over getting the summary page details.
Fixes b/331977022.
[x] Tests pass
[x] Appropriate changes to README are included in PR
I've noticed an issue with the rest of the libraries not being able to properly find the library names from the given Sphinx info.
Seems like I need to extract the
.repo-metadata.json
file directly to source this information - Sphinx has very limited ways to deliver this information throughdocs/conf.py
.Based on the
googleapis/
repo search, it seems that usingname
suffices for shortname for the library. If I encounter ones that don't work, I'll create an exception around those few. I've sampled ~100 and seems to work with usingname
instead ofapi_shortname
.Verified that existing library generation demo for bigframes and logging still works.
If the repository metadata could not be retrieved, skip over getting the summary page details.
Fixes b/331977022.