Uh oh!
There was an error while loading. Please reload this page.
WIP: Json documentation generation - #1775
Conversation
googlebot
commented
May 5, 2016
We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm. |
dhermes
commented
May 5, 2016
@daspecster From https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/pulls/1775/commits it appears some of the commits have @jgeewax and @callmehiphop emails in them (which is why the CLA bot is angry). |
| @@ -0,0 +1,160 @@ | |||
| { | |||
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
dhermes
commented
May 5, 2016
High level comment: It looks like you've had to write the majority of the parser from scratch (i.e. have your own representations of |
daspecster
commented
May 5, 2016
Yeah, I think I'm probably going to drop |
daspecster
commented
May 5, 2016
Also, @dhermes for the ci bot, should I just squash those commits? I didn't want to leave out the log of their contributions. |
dhermes
commented
May 5, 2016
I don't particularly mind about the CI, though those initial commits aren't necessarily needed for your work. |
| def generate_doc_types_json(modules, types_file_path): | ||
| doc_types_list = [{ | ||
| "id": "gcloud", |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
jgeewax
commented
May 5, 2016
Nice -- this is awesome. Thanks for cranking on it. |
googlebot
commented
May 5, 2016
CLAs look good, thanks! |
googlebot
commented
Jun 6, 2016
We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm. |
tseaver
commented
Jun 6, 2016
The "continuation line" lint failures are obnoxious: finding the style which passes both |
daspecster
commented
Jul 16, 2016
Ok thanks! Should we trim the TOC back a bit? |
daspecster
commented
Jul 18, 2016
@dhermes, I'll fix that formatting issue and I also just noticed that I broke the sub nav links with my last push. |
7610b13 to
820f2acComparedaspecster
commented
Jul 20, 2016
Ok! Have another look through and LMKWYT |
daspecster
commented
Jul 20, 2016
tseaver
commented
Jul 20, 2016
The docstring examples on the datastore landing page still look borked: http://daspecster.github.io/gcloud-python/#/docs/master/gcloud/datastore The snippet captions appear to have regressed: http://daspecster.github.io/gcloud-python/#/docs/master/gcloud/bigquery http://daspecster.github.io/gcloud-python/#/docs/master/gcloud/pubsub |
Testing deploy with 1:1 class:json. Add overview.html Deploy script working now in testing. Fix code blocks. Add href support. Add snippets to base service module. closesgoogleapis#1951 Fix types generation. Fix linking. Fix external github links. Update gcloud-commit site files. Swtich to live site generation. clean up manifest for starters. Remove old example detection code. Update TOC.
I think I somehow squashed the snippet title code out. I'll try and redo it real quick. |
daspecster
commented
Jul 21, 2016
@tseaver fixed! http://daspecster.github.io/gcloud-python/#/docs/master/gcloud/pubsub Not sure how that got lost, I think I may have lost the commit in rebasing or something. |
tseaver
commented
Jul 21, 2016
@daspecster The http://daspecster.github.io/gcloud-python/stable/bigquery-usage.html page is still showing the pre-snippet examples: maybe that will get fixed when you merge? |
daspecster
commented
Jul 21, 2016
@tseaver Oh sorry, I pushed |
daspecster
commented
Jul 22, 2016
Let me know if there is anything that's a show stopper here. I would like to try and get this merged today if possible. |
tseaver
commented
Jul 22, 2016
LGTM |
daspecster
commented
Jul 22, 2016
I'm going to merge this at 2pm EST unless I hear otherwise. Just to give everyone a chance to chime in. |
daspecster
commented
Jul 22, 2016
Travis master build that I'm watching for this https://travis-ci.org/GoogleCloudPlatform/gcloud-python/builds/146717128 |
…_wait API (#1775) * docs: update query destination table legacy file to use query_and_wait API * docs: update the query_destination_table_legacy.py to use the query_and_wait API --------- Co-authored-by: Salem Boyland <salemb@google.com> Co-authored-by: Kira <kirnendra@google.com> Co-authored-by: Chalmer Lowe <chalmerlowe@google.com>
…_many snippet (#1775) This PR adds argparse support to the download_many snippet for CLI testing, and updates the description containing traversal safety.
scripts/generate_json_docs.pyis now generating parsable JSON for the gcloud-common site generator.As well as building a
types.jsonfile.Several things are still in progress...
gcloud.datastore._generated.query_pb2.Query__init__.py'sgenerate_json_docs.pyneeds to be added to the build process and documented better.